Skip to content

Commit 7883f41

Browse files
committed
ci: fix invalid cache key and expire old cache
Signed-off-by: Zxilly <zxilly@outlook.com>
1 parent 9b8b791 commit 7883f41

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/actions/setup-script/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ runs:
3333
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
3434
with:
3535
path: ./scripts/bins
36-
key: testbins-${{ hashFiles('scripts/binaries.csv') }}-${{ inputs.cache }}
36+
key: testbins-${{ hashFiles('scripts/binaries.csv') }}-${{ inputs.cache }}-v2
3737
enableCrossOsArchive: true
3838

3939
- name: Run script

.github/workflows/built-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
- name: Collect profiles
106106
uses: ./.github/actions/setup-script
107107
with:
108-
cache: 'integration-real'
108+
cache: ${{ matrix.test }}
109109
script: 'tests.py --${{ matrix.test }}'
110110
env:
111111
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)