mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-04-24 12:25:32 +00:00
feat: bump to use node20 runtime, actions/checkout to v4
This commit is contained in:
parent
f7ebb81a3f
commit
8070854e57
10 changed files with 26 additions and 26 deletions
|
@ -35,7 +35,7 @@ If you are using separate jobs to create and save your cache(s) to be reused by
|
|||
|
||||
```yaml
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/cache/restore@v3
|
||||
id: cache
|
||||
|
@ -64,7 +64,7 @@ In case of multi-module projects, where the built artifact of one project needs
|
|||
|
||||
```yaml
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Build
|
||||
run: /build-parent-module.sh
|
||||
|
@ -80,7 +80,7 @@ steps:
|
|||
|
||||
```yaml
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/cache/restore@v3
|
||||
id: cache
|
||||
|
@ -107,7 +107,7 @@ To fail if there is no cache hit for the primary key, leave `restore-keys` empty
|
|||
|
||||
```yaml
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/cache/restore@v3
|
||||
id: cache
|
||||
|
|
|
@ -31,7 +31,7 @@ outputs:
|
|||
cache-matched-key:
|
||||
description: 'Key of the cache that was restored, it could either be the primary key on cache-hit or a partial/complete match of one of the restore keys'
|
||||
runs:
|
||||
using: 'node16'
|
||||
using: 'node20'
|
||||
main: '../dist/restore-only/index.js'
|
||||
branding:
|
||||
icon: 'archive'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue