Skip to content

Commit

Permalink
GHA: Adds hashFiles() to cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Apr 21, 2024
1 parent 9e56a6e commit fcfaaea
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.ARTIFACT_NAME }}/${{ env.CHECKOUT_REF }}/${{ env.VERSION }}
key: ${{ env.ARTIFACT_NAME }}/${{ env.CHECKOUT_REF }}/${{ env.VERSION }}/${{ hashFiles('/etc/ansible/facts.d') }}

Check warning on line 72 in .github/workflows/platform-linux.yml

View workflow job for this annotation

GitHub Actions / Pre-commit

72:121 [line-length] line too long (123 > 120 characters)
- if: steps.cache-mt.outputs.cache-hit != 'true'
name: Runs playbook
uses: dawidd6/action-ansible-playbook@v2
Expand Down

0 comments on commit fcfaaea

Please sign in to comment.