From c05b24195c9839c444ffb9a7e59e774993e8515f Mon Sep 17 00:00:00 2001 From: Ivan Zorin Date: Tue, 19 Dec 2023 07:25:41 +0300 Subject: [PATCH] push.yml: try to retrieve cache by key properly --- .github/workflows/push.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index c4468ac39..764659c93 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -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: