mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
👷 Cache conan packages (#1487)
This commit is contained in:
parent
476825dc35
commit
f87e008679
17
.github/workflows/build.yml
vendored
17
.github/workflows/build.yml
vendored
|
@ -30,12 +30,25 @@ jobs:
|
|||
modules: qtwebengine
|
||||
|
||||
# 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)
|
||||
if: startsWith(matrix.os, 'windows')
|
||||
run: |
|
||||
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
|
||||
choco install conan -y -s="https://api.bintray.com/nuget/anotherfoxguy/choco-pkg"
|
||||
|
||||
refreshenv
|
||||
shell: cmd
|
||||
|
|
Loading…
Reference in a new issue