Skip to content

Commit

Permalink
CI - cache save fix
Browse files Browse the repository at this point in the history
  • Loading branch information
perfplay committed Dec 8, 2024
1 parent ee8955a commit 5f4039e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,16 @@ jobs:
with:
submodules: true
fetch-depth: 0

- name: "Restore cache dependencies"
id: cache-restore
if: ${{ env.USE_CACHE == 'true' }}
uses: actions/cache/restore@v4
with:
path: ${{ env.CACHE_PATH }}
key: jam-${{ runner.os }}-${{ github.job }}-${{ env.CACHE_VERSION }}
key: jam-${{ runner.os }}-${{ github.job }}-${{ env.CACHE_VERSION }}-${{ github.run_id }}
restore-keys: |
jam-${{ runner.os }}-${{ github.job }}-${{ env.CACHE_VERSION }}
jam-${{ runner.os }}-${{ github.job }}
jam-${{ runner.os }}
Expand Down

0 comments on commit 5f4039e

Please sign in to comment.