A feature-rich command-line audio/video downloader
[build] Fix macOS requirements caching (#13328)
bashonly201812100f31
diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex 4b71a621c3..e2411ecfad 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -256,7 +256,7 @@ jobs:with:path: |~/yt-dlp-build-venv- key: cache-reqs-${{ github.job }}+ key: cache-reqs-${{ github.job }}-${{ github.ref }}- name: Install Requirementsrun: |@@ -331,19 +331,16 @@ jobs:if: steps.restore-cache.outputs.cache-hit == 'true'env:GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}- cache_key: cache-reqs-${{ github.job }}- repository: ${{ github.repository }}- branch: ${{ github.ref }}+ cache_key: cache-reqs-${{ github.job }}-${{ github.ref }}run: |- gh extension install actions/gh-actions-cache- gh actions-cache delete "${cache_key}" -R "${repository}" -B "${branch}" --confirm+ gh cache delete "${cache_key}"- name: Cache requirementsuses: actions/cache/save@v4with:path: |~/yt-dlp-build-venv- key: cache-reqs-${{ github.job }}+ key: cache-reqs-${{ github.job }}-${{ github.ref }}macos_legacy:needs: process