👷 Cache conan packages (#1487)
This commit is contained in:
@@ -30,12 +30,25 @@ jobs:
|
|||||||
modules: qtwebengine
|
modules: qtwebengine
|
||||||
|
|
||||||
# WINDOWS
|
# WINDOWS
|
||||||
|
- name: Cache conan
|
||||||
|
if: startsWith(matrix.os, 'windows')
|
||||||
|
uses: actions/cache@v1
|
||||||
|
with:
|
||||||
|
key: ${{ runner.os }}-conan-root-${{ hashFiles('**/conanfile.txt') }}
|
||||||
|
path: ~/.conan
|
||||||
|
|
||||||
|
- name: Cache conan packages
|
||||||
|
if: startsWith(matrix.os, 'windows')
|
||||||
|
uses: actions/cache@v1
|
||||||
|
with:
|
||||||
|
key: ${{ runner.os }}-conan-pkg-${{ hashFiles('**/conanfile.txt') }}
|
||||||
|
path: C:/.conan/
|
||||||
|
|
||||||
- name: Install dependencies (Windows)
|
- name: Install dependencies (Windows)
|
||||||
if: startsWith(matrix.os, 'windows')
|
if: startsWith(matrix.os, 'windows')
|
||||||
run: |
|
run: |
|
||||||
REM We use this source (temporarily?) until choco has updated their version of conan
|
REM We use this source (temporarily?) until choco has updated their version of conan
|
||||||
choco source add -n=AFG -s="https://api.bintray.com/nuget/anotherfoxguy/choco-pkg"
|
choco install conan -y -s="https://api.bintray.com/nuget/anotherfoxguy/choco-pkg"
|
||||||
choco install conan -y
|
|
||||||
|
|
||||||
refreshenv
|
refreshenv
|
||||||
shell: cmd
|
shell: cmd
|
||||||
|
|||||||
Reference in New Issue
Block a user