push.yml: try to retrieve cache by key properly

This commit is contained in:
Ivan Zorin
2023-12-19 07:25:41 +03:00
parent dd80f527ac
commit c05b24195c

View File

@@ -74,6 +74,8 @@ jobs:
matrix: matrix:
model: ["Pinecil", "Pinecilv2"] model: ["Pinecil", "Pinecilv2"]
fail-fast: true fail-fast: true
outputs:
current_date: ${{ steps.get_date.outputs.CURRENT_DATE }}
steps: steps:
- name: Install dependencies (apk) - name: Install dependencies (apk)
@@ -143,6 +145,13 @@ jobs:
key: metadata-*-${{ needs.build_multi-lang.outputs.current_date }} key: metadata-*-${{ needs.build_multi-lang.outputs.current_date }}
- run: ls -R ; ls -R metadata || true - run: ls -R ; ls -R metadata || true
- name: Restore cached JSONs by key wildcar
uses: actions/cache/restore@v3
with:
path: metadata_test
key: metadata-*
- run: ls -R ; ls -R metadata_test || true
- name: Upload JSONs in bulk - name: Upload JSONs in bulk
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with: