From 2d52d38303859bddcafda94458c28019753dbf3b Mon Sep 17 00:00:00 2001 From: Vadim Yavorsky Date: Tue, 17 Dec 2024 12:19:49 +0000 Subject: [PATCH] Update GitHub Actions to use cache action v4.2.0 --- .github/workflows/publish.yml | 10 +++++----- .github/workflows/test.yml | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 787751c..ac27309 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,8 +15,8 @@ env: jobs: publish: runs-on: ubuntu-latest - if: github.event.pull_request.merged - + if: github.event.pull_request.merged + steps: - uses: actions/checkout@v2 @@ -24,7 +24,7 @@ jobs: id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn cache dir)" - - uses: actions/cache@v2 + - uses: actions/cache@v4.2.0 id: yarn-cache with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} @@ -32,7 +32,7 @@ jobs: restore-keys: | ${{ runner.os }}-yarn- - - uses: actions/cache@v2 + - uses: actions/cache@v4.2.0 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} @@ -100,7 +100,7 @@ jobs: release_name: ${{ env.VERSION }} draft: false prerelease: ${{ env.PRERELEASE }} - + - name: Upload Release Assets id: upload-release-assets uses: dwenegar/upload-release-assets@v1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index eb894bd..af00956 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,7 +20,7 @@ jobs: id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn cache dir)" - - uses: actions/cache@v2 + - uses: actions/cache@v4.2.0 id: yarn-cache with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} @@ -28,7 +28,7 @@ jobs: restore-keys: | ${{ runner.os }}-yarn- - - uses: actions/cache@v2 + - uses: actions/cache@v4.2.0 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}