Skip to content

Commit

Permalink
Try to use "absolute" path to hashFiles function
Browse files Browse the repository at this point in the history
The key computed was just "disk-cache-Windows-" with the hash part being empty.
  • Loading branch information
avdv committed Mar 3, 2023
1 parent 8b4fb65 commit 158b1cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:
uses: actions/cache@v3
with:
path: .bazel-cache/disk
key: disk-cache-${{ runner.os }}-${{ hashFiles('stackage_snapshot.yaml') }}
key: disk-cache-${{ runner.os }}-${{ hashFiles('/stackage_snapshot.yaml') }}
- if: ${{ matrix.os == 'ubuntu-latest' }}
run: |-
sudo swapoff -a
Expand Down

0 comments on commit 158b1cd

Please sign in to comment.