mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
push.yml: try to retrieve cache by key properly
This commit is contained in:
9
.github/workflows/push.yml
vendored
9
.github/workflows/push.yml
vendored
@@ -74,6 +74,8 @@ jobs:
|
||||
matrix:
|
||||
model: ["Pinecil", "Pinecilv2"]
|
||||
fail-fast: true
|
||||
outputs:
|
||||
current_date: ${{ steps.get_date.outputs.CURRENT_DATE }}
|
||||
|
||||
steps:
|
||||
- name: Install dependencies (apk)
|
||||
@@ -143,6 +145,13 @@ jobs:
|
||||
key: metadata-*-${{ needs.build_multi-lang.outputs.current_date }}
|
||||
- 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
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user