mirror of
https://gitee.com/actions-mirror/cache.git
synced 2024-11-30 14:00:43 +08:00
Fix job names v2
This commit is contained in:
parent
f15bc7a0d9
commit
2ba9edf492
12
.github/workflows/workflow.yml
vendored
12
.github/workflows/workflow.yml
vendored
@ -47,7 +47,7 @@ jobs:
|
|||||||
run: npm run test
|
run: npm run test
|
||||||
|
|
||||||
# End to end save and restore
|
# End to end save and restore
|
||||||
test-save-relative:
|
test-save:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macOS-latest]
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
||||||
@ -63,8 +63,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
key: test-${{ runner.os }}-${{ github.run_id }}
|
key: test-${{ runner.os }}-${{ github.run_id }}
|
||||||
path: test-cache
|
path: test-cache
|
||||||
test-restore-relative:
|
test-restore:
|
||||||
needs: test-save-relative
|
needs: test-save
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macOS-latest]
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
||||||
@ -82,7 +82,7 @@ jobs:
|
|||||||
run: __tests__/verify-cache-files.sh ${{ runner.os }} test-cache
|
run: __tests__/verify-cache-files.sh ${{ runner.os }} test-cache
|
||||||
|
|
||||||
# End to end save and restore with relative paths
|
# End to end save and restore with relative paths
|
||||||
test-save:
|
test-save-relative:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macOS-latest]
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
||||||
@ -98,8 +98,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
key: test-relative-${{ runner.os }}-${{ github.run_id }}
|
key: test-relative-${{ runner.os }}-${{ github.run_id }}
|
||||||
path: ~test-cache
|
path: ~test-cache
|
||||||
test-restore:
|
test-restore-relative:
|
||||||
needs: test-save
|
needs: test-save-relative
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macOS-latest]
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
||||||
|
Loading…
Reference in New Issue
Block a user