3
0
Fork 0
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:
K.B.Dharun Krishna 2023-09-05 09:48:13 +05:30
parent f7ebb81a3f
commit 8070854e57
No known key found for this signature in database
GPG key ID: 1B8ECA406788AFA4
10 changed files with 26 additions and 26 deletions

View file

@ -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

View file

@ -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'