From 91870b7e51425ecc472e3c114eadee3026d18d42 Mon Sep 17 00:00:00 2001 From: Rinish Sam <36656347+CaptainIRS@users.noreply.github.com> Date: Fri, 28 Oct 2022 22:46:53 +0530 Subject: [PATCH] Update cache action (#1469) Signed-off-by: CaptainIRS <36656347+CaptainIRS@users.noreply.github.com> Signed-off-by: CaptainIRS <36656347+CaptainIRS@users.noreply.github.com> --- .github/workflows/integration-tests.yml | 4 ++-- .github/workflows/unit-tests.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index d43e605f9..da5b2aa0e 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -79,7 +79,7 @@ jobs: run: npm install -g npm@${{ env.NPM_VERSION }} - name: Cache node modules id: cache-npm - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | node_modules @@ -89,7 +89,7 @@ jobs: ${{ matrix.node-version }}-npm-cache- - name: Cache SUT binding id: cache-sut - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: /tmp/sut/cached key: ${{ format('{0}-sut-cache-{1}-{2}', matrix.node-version, matrix.adaptor, hashFiles(format('packages/caliper-tests-integration/{0}_tests/run.sh', matrix.adaptor))) }} diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 81cd0dfdf..d4d9d8fd0 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -23,7 +23,7 @@ jobs: run: npm install -g npm@${{ env.NPM_VERSION }} - name: Cache node modules id: cache-npm - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | node_modules