From b37ef27f5be76eaa8a23dcd0e0607b84cac26d4e Mon Sep 17 00:00:00 2001 From: Peter Sobot Date: Tue, 30 Jul 2024 11:55:07 -0400 Subject: [PATCH] Delete more caches. --- .github/workflows/all.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/all.yml b/.github/workflows/all.yml index 2068c6b6..998e414e 100644 --- a/.github/workflows/all.yml +++ b/.github/workflows/all.yml @@ -215,6 +215,11 @@ jobs: ccache --zero-stats # cat ${{ runner.workspace }}/.ccache_log || true # ls -lashR ${{ runner.workspace }}/pedalboard + - name: Delete Existing Cache for ${{ runner.os }} Objects + run: gh cache delete --repo ${{ github.repository }} ${{ steps.cache-objects-restore.outputs.cache-primary-key }} + env: + # This token requires the "repo" scope. + GITHUB_TOKEN: ${{ secrets.ACTION_CLEAR_CACHES_TOKEN }} - name: Save Cached ${{ runner.os }} Objects id: cache-objects-save uses: actions/cache/save@v4 @@ -309,6 +314,11 @@ jobs: ccache --zero-stats # cat ${{ runner.workspace }}/.ccache_log || true # ls -lashR ${{ runner.workspace }} + - name: Delete Existing Cache for ${{ runner.os }} Objects + run: gh cache delete --repo ${{ github.repository }} ${{ steps.cache-objects-restore.outputs.cache-primary-key }} + env: + # This token requires the "repo" scope. + GITHUB_TOKEN: ${{ secrets.ACTION_CLEAR_CACHES_TOKEN }} - name: Save Cached ${{ runner.os }} Objects id: cache-objects-save uses: actions/cache/save@v4