From 88a63c2d1268cb9be7b134a45beb97012a0f72d2 Mon Sep 17 00:00:00 2001 From: Francis CLAIRICIA-ROSE-CLAIRE-JOSEPHINE Date: Sun, 20 Oct 2024 19:39:29 +0200 Subject: [PATCH] CI: Cache key uses current workflow job id --- .github/actions/setup-tox/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/setup-tox/action.yml b/.github/actions/setup-tox/action.yml index 73a4fe52..22701299 100644 --- a/.github/actions/setup-tox/action.yml +++ b/.github/actions/setup-tox/action.yml @@ -17,7 +17,7 @@ runs: shell: bash - name: Create cache key from workflow run: | - echo "Runner=${{ runner.os }}-${{ runner.arch }}; Workflow=${{ github.workflow }}" > $WORKFLOW_CACHE_KEY_FILE + echo "Runner=${{ runner.os }}-${{ runner.arch }}; Workflow=${{ github.workflow }}/${{ github.job }}" > $WORKFLOW_CACHE_KEY_FILE echo "Workflow Cache Version: $CACHE_CONFIGURATION_VERSION" >> $WORKFLOW_CACHE_KEY_FILE env: # Increment the version each time the uploaded cache must be invalidated