Skip to content

Commit

Permalink
ci: fix invalid cache key and expire old cache
Browse files Browse the repository at this point in the history
Signed-off-by: Zxilly <[email protected]>
  • Loading branch information
Zxilly committed Jun 19, 2024
1 parent 9b8b791 commit 7883f41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup-script/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ runs:
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: ./scripts/bins
key: testbins-${{ hashFiles('scripts/binaries.csv') }}-${{ inputs.cache }}
key: testbins-${{ hashFiles('scripts/binaries.csv') }}-${{ inputs.cache }}-v2
enableCrossOsArchive: true

- name: Run script
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/built-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
- name: Collect profiles
uses: ./.github/actions/setup-script
with:
cache: 'integration-real'
cache: ${{ matrix.test }}
script: 'tests.py --${{ matrix.test }}'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 7883f41

Please sign in to comment.