3
0
Fork 0
mirror of https://github.com/Swatinem/rust-cache synced 2025-06-27 10:38:48 +00:00

Update action runtime to node20

This commit is contained in:
rhysd 2023-10-25 21:55:02 +09:00
parent 3cf7f8cc28
commit e979ff71a1
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'"