perf: implement frequent inventory backup to cache in Video Hub workflow

This commit is contained in:
Nubenetes Bot
2026-05-22 17:35:30 +02:00
parent bea152635e
commit e79e2380f8
2 changed files with 23 additions and 4 deletions

View File

@@ -32,6 +32,14 @@ jobs:
python-version: '3.11'
cache: 'pip'
- name: Restore Incremental Inventory Cache
uses: actions/cache/restore@v4
with:
path: data/inventory.yaml
key: inventory-v2-${{ github.run_id }}-${{ github.run_attempt }}
restore-keys: |
inventory-v2-
- name: Dependency Installation
run: |
python -m pip install --upgrade pip
@@ -61,3 +69,10 @@ jobs:
git pull --rebase origin develop
git push origin develop
fi
- name: Persist Incremental Inventory Cache
if: always()
uses: actions/cache/save@v4
with:
path: data/inventory.yaml
key: inventory-v2-${{ github.run_id }}-${{ github.run_attempt }}