From a3310dc29f327b08c0cb49aa4dc854fb98836b79 Mon Sep 17 00:00:00 2001 From: Vladimir Abramichev <2648655+descorp@users.noreply.github.com> Date: Thu, 27 Jun 2024 17:07:48 +0200 Subject: [PATCH] chore: make cleanup optional --- .github/workflows/pr_check.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr_check.yml b/.github/workflows/pr_check.yml index 1f03fd302..308b3d6c7 100644 --- a/.github/workflows/pr_check.yml +++ b/.github/workflows/pr_check.yml @@ -35,11 +35,16 @@ jobs: runs-on: ubuntu-latest needs: [run-sonar] if: always() + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - uses: actions/checkout@v4 - - name: Delete temporary cache - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Delete temporary Node cache + continue-on-error: true run: | - gh cache delete temp-lib-${{ github.sha }} gh cache delete temp-node-${{ github.sha }} + + - name: Delete temporary Lib cache + continue-on-error: true + run: | + gh cache delete temp-lib-${{ github.sha }}