From dd80f527ac9d58b42930909bee08afda420de8ca Mon Sep 17 00:00:00 2001 From: Ivan Zorin Date: Tue, 19 Dec 2023 07:20:29 +0300 Subject: [PATCH] push.yml: try to retrieve cache by key properly --- .github/workflows/push.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index cd2c5089..c4468ac3 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -129,11 +129,18 @@ jobs: runs-on: ubuntu-20.04 steps: - - name: Restore cached source + - name: Restore cached JSONs from build uses: actions/cache/restore@v3 with: 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 - name: Upload JSONs in bulk