1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-08-17 18:08:30 +00:00

cache by python version!

Authored by: bashonly
This commit is contained in:
bashonly 2025-08-13 12:49:16 -05:00
parent 2f09d71be2
commit 1001d419f4
No known key found for this signature in database
GPG Key ID: 783F096F253D15B0

View File

@ -429,7 +429,7 @@ jobs:
with: with:
path: | path: |
/yt-dlp-build-venv /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 - name: Install Requirements
run: | run: |
@ -492,7 +492,7 @@ jobs:
matrix.arch == 'arm64' && steps.restore-cache.outputs.cache-hit == 'true' matrix.arch == 'arm64' && steps.restore-cache.outputs.cache-hit == 'true'
env: env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} 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: | run: |
gh cache delete "${cache_key}" gh cache delete "${cache_key}"
@ -502,7 +502,7 @@ jobs:
with: with:
path: | path: |
/yt-dlp-build-venv /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: meta_files:
if: always() && !cancelled() if: always() && !cancelled()