|
@@ -57,11 +57,21 @@ jobs:
|
|
|
pip install -r .github/workflows/requirements-conan-package.txt
|
|
|
conan profile new default --detect
|
|
|
|
|
|
+ - name: Use Conan download cache (Bash)
|
|
|
+ if: ${{ runner.os != 'Windows' }}
|
|
|
+ run: conan config set storage.download_cache="$HOME/.conan/conan_download_cache"
|
|
|
+
|
|
|
+ - name: Use Conan download cache (Powershell)
|
|
|
+ if: ${{ runner.os == 'Windows' }}
|
|
|
+ run: conan config set storage.download_cache="C:\Users\runneradmin\.conan\conan_download_cache"
|
|
|
+
|
|
|
- name: Cache Conan local repository packages (Bash)
|
|
|
uses: actions/cache@v3
|
|
|
if: ${{ runner.os != 'Windows' }}
|
|
|
with:
|
|
|
- path: $HOME/.conan/data
|
|
|
+ path: |
|
|
|
+ $HOME/.conan/data
|
|
|
+ $HOME/.conan/conan_download_cache
|
|
|
key: conan-${{ runner.os }}-${{ runner.arch }}
|
|
|
|
|
|
- name: Cache Conan local repository packages (Powershell)
|
|
@@ -71,6 +81,7 @@ jobs:
|
|
|
path: |
|
|
|
C:\Users\runneradmin\.conan\data
|
|
|
C:\.conan
|
|
|
+ C:\Users\runneradmin\.conan\conan_download_cache
|
|
|
key: conan-${{ runner.os }}-${{ runner.arch }}
|
|
|
|
|
|
- name: Install MacOS system requirements
|