From 4c63d6dbf3d1213d140e7fb81941a18a71eb7332 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 20 Oct 2020 10:31:17 -0400 Subject: [PATCH] actions/cache@v2 and actions/setup-node@v2 (#404) * actions/cache@v2 and actions/setup-node@v2 * correction * v2-beta * oops --- .github/workflows/node.js.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index add0478d..ead65078 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -21,13 +21,13 @@ jobs: steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v2-beta with: node-version: ${{ matrix.node-version }} - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn cache dir)" - - uses: actions/cache@v1 + - uses: actions/cache@v2 id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }}