Skip to content

Commit

Permalink
ci - cache conan packages on Windows builds
Browse files Browse the repository at this point in the history
  • Loading branch information
piponazo committed May 11, 2021
1 parent ae7d6f8 commit d755fee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/on_PR_windows_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
pip.exe install conan
conan profile new --detect default
conan profile update settings.build_type=${{matrix.build_type}} default
conan config set storage.path=$Env:temp/conanCache
- name: Conan Arch conditional config
if: ${{matrix.platform == 'x86'}}
Expand All @@ -50,6 +51,11 @@ jobs:
cd build
conan profile list
conan install .. --build missing
- uses: actions/cache@v2
with:
path: $Env:temp/conanCache
key: ${{runner.os}}-${{matrix.platform}}-${{matrix.build_type}}

- name: Build
run: |
Expand Down

0 comments on commit d755fee

Please sign in to comment.