Skip to content

Commit

Permalink
GHA: Improves cache key by adding hash of the workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Apr 21, 2024
1 parent ee91fcb commit 1685745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/platform-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.wine/drive_c
key: ${{ env.CHECKOUT_REF }}/${{ env.VERSION }}
key: ${{ env.CHECKOUT_REF }}/${{ env.VERSION }}/${{ hashFiles('.github/workflows/platform-linux.yml') }}
- if: steps.cache-mt.outputs.cache-hit != 'true'
name: Runs playbook
uses: dawidd6/action-ansible-playbook@v2
Expand Down

0 comments on commit 1685745

Please sign in to comment.