Skip to content

Commit

Permalink
CI: Cache key uses current workflow job id (#369)
Browse files Browse the repository at this point in the history
  • Loading branch information
francis-clairicia authored Oct 20, 2024
1 parent 284a58e commit 5415b3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/setup-tox/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5415b3f

Please sign in to comment.