From 3ffa3645a0409a18b2c0a654a8f82f2d6d7be855 Mon Sep 17 00:00:00 2001 From: Oleg Chendighelean Date: Fri, 22 Nov 2024 15:19:28 +0000 Subject: [PATCH] test add cache clean-up --- .github/workflows/release.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 7054798078..77b26c8734 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -161,3 +161,16 @@ jobs: APPLE_ID: ${{ secrets.APPLE_ID }} APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }} run: pnpm run electron:package:mac + + cleanup-cache: + runs-on: ubuntu-latest + if: always() + needs: [create-release-linux, create-release-mac] + steps: + - name: Check out the code + uses: actions/checkout@v4 + + - name: Cleanup cache + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: gh cache delete turbo-${{ github.sha }}