From 4d8ebe3c2c55139abdc9e46d91b6a66272f554a2 Mon Sep 17 00:00:00 2001 From: pabra Date: Mon, 22 Apr 2024 22:20:31 +0200 Subject: [PATCH] update github cache action --- .github/workflows/npm-publish.yml | 2 +- .github/workflows/unit-tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 9347d18..3ced55e 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -29,7 +29,7 @@ jobs: run: | echo "CACHE_DIR=$(npm config get cache)" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 + - uses: actions/cache@v4 id: cache with: path: ${{ steps.npm-cache.outputs.CACHE_DIR }} diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index e7068ef..8fdfe77 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -43,7 +43,7 @@ jobs: # getting and storing cache takes about 1:20 min each on windows - if: ${{ matrix.os != 'windows-latest' && ( matrix.os == 'ubuntu-latest' || matrix.node == 20 ) }} - uses: actions/cache@v3 + uses: actions/cache@v4 id: cache with: path: ${{ steps.npm-cache.outputs.CACHE_DIR }}