diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 7054798078..cd86ad2584 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -161,3 +161,15 @@ 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 + 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 }}