From 1001d419f460d8de08103a918f035b67e64d95b0 Mon Sep 17 00:00:00 2001 From: bashonly Date: Wed, 13 Aug 2025 12:49:16 -0500 Subject: [PATCH] cache by python version! Authored by: bashonly --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 90d4d2c96..ab718210f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -429,7 +429,7 @@ jobs: with: path: | /yt-dlp-build-venv - key: cache-reqs-${{ github.job }}_${{ matrix.arch }}-${{ github.ref }} + key: cache-reqs-${{ github.job }}_${{ matrix.arch }}-${{ matrix.python_version }}-${{ github.ref }} - name: Install Requirements run: | @@ -492,7 +492,7 @@ jobs: matrix.arch == 'arm64' && steps.restore-cache.outputs.cache-hit == 'true' env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - cache_key: cache-reqs-${{ github.job }}_${{ matrix.arch }}-${{ github.ref }} + cache_key: cache-reqs-${{ github.job }}_${{ matrix.arch }}-${{ matrix.python_version }}-${{ github.ref }} run: | gh cache delete "${cache_key}" @@ -502,7 +502,7 @@ jobs: with: path: | /yt-dlp-build-venv - key: cache-reqs-${{ github.job }}_${{ matrix.arch }}-${{ github.ref }} + key: cache-reqs-${{ github.job }}_${{ matrix.arch }}-${{ matrix.python_version }}-${{ github.ref }} meta_files: if: always() && !cancelled()