From 09e202b3ae90048d23407001b660910060008da4 Mon Sep 17 00:00:00 2001 From: Michael Kriese Date: Sun, 7 Jun 2020 11:05:50 +0200 Subject: [PATCH] chore(ci): use cache v2 --- .github/workflows/build.yml | 12 ++++++------ .github/workflows/release-npm.yml | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a31d791a51cd56..4ee5ac8ab6a2d9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -76,7 +76,7 @@ jobs: - name: Cache Yarn packages id: yarn_cache_packages - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ env.YARN_CACHE_FOLDER }} key: ${{ env.YARN_PACKAGE_CACHE_KEY }}-${{ runner.os }}-yarn_cache-${{ hashFiles('**/yarn.lock') }} @@ -84,7 +84,7 @@ jobs: ${{ env.YARN_PACKAGE_CACHE_KEY }}-${{ runner.os }}-yarn_cache- - name: Cache node_modules - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: node_modules key: ${{ env.YARN_MODULES_CACHE_KEY }}-${{ runner.os }}-${{ env.NODE_VERSION }}-yarn-${{ hashFiles('**/yarn.lock') }} @@ -149,7 +149,7 @@ jobs: - name: Cache Yarn packages id: yarn_cache_packages - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ env.YARN_CACHE_FOLDER }} key: ${{ env.YARN_PACKAGE_CACHE_KEY }}-${{ runner.os }}-yarn_cache-${{ hashFiles('**/yarn.lock') }} @@ -157,7 +157,7 @@ jobs: ${{ env.YARN_PACKAGE_CACHE_KEY }}-${{ runner.os }}-yarn_cache- - name: Cache node_modules - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: node_modules key: ${{ env.YARN_MODULES_CACHE_KEY }}-${{ runner.os }}-${{ env.NODE_VERSION }}-yarn-${{ hashFiles('**/yarn.lock') }} @@ -210,13 +210,13 @@ jobs: fetch-depth: 0 - name: Cache Yarn packages - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ env.YARN_CACHE_FOLDER }} key: ${{ env.YARN_PACKAGE_CACHE_KEY }}-${{ runner.os }}-yarn_cache-${{ hashFiles('**/yarn.lock') }} - name: Cache node_modules - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: node_modules key: ${{ env.YARN_MODULES_CACHE_KEY }}-${{ runner.os }}-${{ env.NODE_VERSION }}-yarn-${{ hashFiles('**/yarn.lock') }} diff --git a/.github/workflows/release-npm.yml b/.github/workflows/release-npm.yml index e849ec245e27e4..44a9785988a7b4 100644 --- a/.github/workflows/release-npm.yml +++ b/.github/workflows/release-npm.yml @@ -35,13 +35,13 @@ jobs: - name: Cache Yarn packages id: yarn_cache_packages - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ env.YARN_CACHE_FOLDER }} key: ${{ env.YARN_PACKAGE_CACHE_KEY }}-${{ runner.os }}-yarn_cache-${{ hashFiles('**/yarn.lock') }} - name: Cache node_modules - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: node_modules key: ${{ env.YARN_MODULES_CACHE_KEY }}-${{ runner.os }}-${{ env.NODE_VERSION }}-yarn-${{ hashFiles('**/yarn.lock') }}