diff --git a/action.yml b/action.yml index 0c4da31..27953d7 100644 --- a/action.yml +++ b/action.yml @@ -230,7 +230,7 @@ runs: # silently producing an empty hash. echo "snapshot-hash=${{ hashFiles(format('{0}/{1}', inputs.working-directory, inputs.stack-yaml)) }}" >>"$GITHUB_OUTPUT" echo "package-hash=${{ hashFiles('**/package.yaml', '**/*.cabal') }}" >>"$GITHUB_OUTPUT" - echo "sources-hash=${{ hashFiles('**', '!**/.stack-work') }}" >>"$GITHUB_OUTPUT" + echo "sources-hash=${{ hashFiles('**', '!**/.stack-work', '!.git') }}" >>"$GITHUB_OUTPUT" - id: stack-query name: Set stack-query outputs