Skip to content

Commit 29ef323

Browse files
committed
[ fix ][ ci ] Deduplicate shared cache keys across Agda targets
1 parent d633165 commit 29ef323

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
uses: actions/cache/restore@v4
115115
with:
116116
path: ${{ env.STACK_ROOT }}
117-
key: ${{ matrix.os }}-stack-resolver-${{ env.STACK_RESOLVER }}-global-${{ hashFiles('**.yaml') }}-${{ matrix.agda }}
117+
key: ${{ matrix.os }}-stack-resolver-${{ env.STACK_RESOLVER }}-global-${{ hashFiles('**.yaml') }}
118118
restore-keys: |
119119
${{ matrix.os }}-stack-resolver-${{ env.STACK_RESOLVER }}-global
120120
@@ -349,7 +349,7 @@ jobs:
349349

350350
- name: Compute cache key
351351
run: |
352-
echo "CI_CACHE_KEY=${{ runner.os }}-${{ runner.arch }}-${{ env.GHC_WASM_META_COMMIT_HASH }}-flavor-${{ env.GHC_WASM_META_FLAVOUR }}-${{ matrix.agda.name }}" >> "$GITHUB_ENV"
352+
echo "CI_CACHE_KEY=${{ runner.os }}-${{ runner.arch }}-${{ env.GHC_WASM_META_COMMIT_HASH }}-flavor-${{ env.GHC_WASM_META_FLAVOUR }}" >> "$GITHUB_ENV"
353353
if [[ "${{ github.ref }}" == "refs/heads/master" ]]; then
354354
PREFIX="als-dev"
355355
elif [[ "${{ github.ref }}" == refs/tags/v* ]]; then

0 commit comments

Comments
 (0)