From 6703438c6241224ed925e59427619a48bb416658 Mon Sep 17 00:00:00 2001 From: ted-cdw Date: Tue, 21 Feb 2023 21:13:13 -0500 Subject: [PATCH] Fix cache save --- .github/workflows/flaskr-ci.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/flaskr-ci.yaml b/.github/workflows/flaskr-ci.yaml index 2444e84c..82b0ef97 100644 --- a/.github/workflows/flaskr-ci.yaml +++ b/.github/workflows/flaskr-ci.yaml @@ -51,6 +51,7 @@ jobs: - name: Setup Docker Buildx uses: docker/setup-buildx-action@v1 - name: Setup cache for Docker Buildx + id: setup-cache uses: actions/cache@v2 with: path: ${{ env.CACHE }} @@ -83,4 +84,4 @@ jobs: uses: actions/cache/save@v3 with: path: ${{ env.NEW_CACHE }} - key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }} \ No newline at end of file + key: ${{ steps.setup-cache.outputs.cache-primary-key }} \ No newline at end of file