Skip to content

πŸŽ› πŸ”Š A Python library for audio.

Delete more caches.

Peter Sobotb37ef27f5be7
diff --git a/.github/workflows/all.yml b/.github/workflows/all.yml
index 2068c6b..998e414 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