12
0
Fork 0
mirror of https://github.com/actions/cache.git synced 2026-07-03 13:49:30 +00:00

docs(action): update v5 references to v6 and fix outdated dates

This commit is contained in:
luojiyin 2026-06-25 09:09:57 +08:00
parent 55cc834586
commit c6d5b8bc74
No known key found for this signature in database
GPG key ID: 9F5399380CCFD0B3
4 changed files with 15 additions and 23 deletions

View file

@ -37,7 +37,7 @@ If you are using separate jobs to create and save your cache(s) to be reused by
steps:
- uses: actions/checkout@v6
- uses: actions/cache/restore@v5
- uses: actions/cache/restore@v6
id: cache
with:
path: path/to/dependencies
@ -69,7 +69,7 @@ steps:
- name: Build
run: /build-parent-module.sh
- uses: actions/cache/save@v5
- uses: actions/cache/save@v6
id: cache
with:
path: path/to/dependencies
@ -82,7 +82,7 @@ steps:
steps:
- uses: actions/checkout@v6
- uses: actions/cache/restore@v5
- uses: actions/cache/restore@v6
id: cache
with:
path: path/to/dependencies
@ -109,7 +109,7 @@ To fail if there is no cache hit for the primary key, leave `restore-keys` empty
steps:
- uses: actions/checkout@v6
- uses: actions/cache/restore@v5
- uses: actions/cache/restore@v6
id: cache
with:
path: path/to/dependencies