mirror of
https://github.com/Prowlarr/Indexers.git
synced 2026-04-27 03:43:30 +01:00
Fixed: improve CI caching for z_Jackett persistence
This commit is contained in:
8
.github/workflows/indexer-sync.yml
vendored
8
.github/workflows/indexer-sync.yml
vendored
@@ -45,12 +45,18 @@ jobs:
|
||||
.venv
|
||||
key: python-deps-${{ hashFiles('requirements.txt') }}
|
||||
|
||||
- name: Get current date
|
||||
id: date
|
||||
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Cache Jackett data
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: z_Jackett
|
||||
key: jackett-data-${{ github.run_id }}
|
||||
key: jackett-data-${{ runner.os }}-${{ hashFiles('**/indexer-sync-v2.sh') }}-${{ steps.date.outputs.date }}
|
||||
restore-keys: |
|
||||
jackett-data-${{ runner.os }}-${{ hashFiles('**/indexer-sync-v2.sh') }}-
|
||||
jackett-data-${{ runner.os }}-
|
||||
jackett-data-
|
||||
|
||||
- name: Setup Python
|
||||
|
||||
Reference in New Issue
Block a user