Skip to content

Commit 15583a4

Browse files
committed
ci: fix cache key mismatch in test job
Change cache restore key from 'ubuntu-latest' to 'Linux' to match the build job's save key. The build job uses ${{ runner.os }} which evaluates to 'Linux' on ubuntu-latest, not 'ubuntu-latest'. This resolves the "Failed to restore cache entry" error.
1 parent 54489d8 commit 15583a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
path: |
111111
dist
112112
node_modules
113-
key: build-${{ github.sha }}-ubuntu-latest
113+
key: build-${{ github.sha }}-Linux
114114
fail-on-cache-miss: true
115115

116116
- name: Install dependencies (Windows)

0 commit comments

Comments
 (0)