Skip to content

Commit

Permalink
push.yml: try to retrieve cache by key properly
Browse files Browse the repository at this point in the history
  • Loading branch information
ia committed Dec 19, 2023
1 parent dd80f52 commit c05b241
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit c05b241

Please sign in to comment.