3
0
Fork 0
mirror of https://github.com/Swatinem/rust-cache synced 2025-04-13 15:48:43 +00:00

Update action runtime to node20 (#175)

This commit is contained in:
Linda_pp 2023-10-26 03:36:38 +09:00 committed by GitHub
parent 3cf7f8cc28
commit b1db5f9d5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -17,10 +17,10 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Setup Node.js 16.x - name: Setup Node.js 20.x
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: 16.x node-version: 20.x
cache: npm cache: npm
- name: Install dependencies - name: Install dependencies

View file

@ -44,7 +44,7 @@ outputs:
cache-hit: cache-hit:
description: "A boolean value that indicates an exact match was found." description: "A boolean value that indicates an exact match was found."
runs: runs:
using: "node16" using: "node20"
main: "dist/restore/index.js" main: "dist/restore/index.js"
post: "dist/save/index.js" post: "dist/save/index.js"
post-if: "success() || env.CACHE_ON_FAILURE == 'true'" post-if: "success() || env.CACHE_ON_FAILURE == 'true'"