push.yml: try to retrieve cache by key properly

This commit is contained in:
Ivan Zorin
2023-12-19 07:20:29 +03:00
parent 5b16e8d773
commit dd80f527ac

View File

@@ -129,11 +129,18 @@ jobs:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- name: Restore cached source - name: Restore cached JSONs from build
uses: actions/cache/restore@v3 uses: actions/cache/restore@v3
with: with:
path: metadata path: metadata
key: metadata-*-${{ needs.save-files.outputs.current_date }} key: metadata-*-${{ needs.build.outputs.current_date }}
- run: ls -R ; ls -R metadata || true
- name: Restore cached JSONs from build_multi-lang
uses: actions/cache/restore@v3
with:
path: metadata
key: metadata-*-${{ needs.build_multi-lang.outputs.current_date }}
- run: ls -R ; ls -R metadata || true - run: ls -R ; ls -R metadata || true
- name: Upload JSONs in bulk - name: Upload JSONs in bulk