Skip to content

Commit

Permalink
Fix hashFile
Browse files Browse the repository at this point in the history
  • Loading branch information
dsame committed Nov 4, 2023
1 parent 413d8d1 commit 0d65a11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@
${{ env.cache }}
key: setup-go-deps-${{ runner.os }}-go-${{ hashFiles('go.sum go.mod') }}

- run: echo "$GOOS $GOARCH" > /tmp/env
- run: echo "$GOOS $GOARCH" > env.txt

- name: Set up intermediate built files cache
uses: actions/cache@v3
with:
path: |
${{ env.modcache }}
key: setup-go-build-${{ env.GOOS }}-${{ env.GOARCH }}-${{ runner.os }}-go-${{ hashFiles('{**/*.go,/tmp/env}') }}
key: setup-go-build-${{ env.GOOS }}-${{ env.GOARCH }}-${{ runner.os }}-go-${{ hashFiles('**/*.go', 'env.txt') }}
restore-keys: |
setup-go-build-${{ env.GOOS }}-${{ env.GOARCH }}
Expand Down

0 comments on commit 0d65a11

Please sign in to comment.