Skip to content

Commit

Permalink
[no ci] actions/cache@v2 restore-keys
Browse files Browse the repository at this point in the history
  • Loading branch information
liu-kan committed Nov 23, 2021
1 parent 77e4561 commit efbacbf
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,13 +149,16 @@ jobs:
continue-on-error: true
if: ${{! github.event.inputs.update_cache}}
env:
cache-name: cache-cuda-installer-${{env.CUDA_VERSION}}
cache-name: cache-conan
with:
path: |
c:/conan_p
c:/conan_s
c:/conan_c
key: ${{ runner.os }}-file-conan
key: ${{ runner.os }}-${{ env.cache-name }}-${{github.sha}}-${{ github.event.inputs.ref_sha}}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}-${{github.sha}}-
${{ runner.os }}-${{ env.cache-name }}-
- name: install conan
run: |
Expand All @@ -182,15 +185,15 @@ jobs:
- name: Cache conan packages
if: ${{(! steps.cache_hits_conan.outputs.cache-hit)|| github.event.inputs.update_cache}}
id: conan_save
uses: actions/cache@v2
uses: actions/cache@v2
env:
cache-name: cache-conan
with:
path: |
c:/conan_p
c:/conan_s
c:/conan_c
key: ${{ runner.os }}-file-conan
key: ${{ runner.os }}-${{ env.cache-name }}-${{github.sha}}-${{ github.event.inputs.ref_sha}}

# - name: Find Cache cuda packages
# id: cache_hits
Expand Down

0 comments on commit efbacbf

Please sign in to comment.