Skip to content

Commit

Permalink
ci: use absolute path for XDG_CACHE_HOME as github actions and bazel …
Browse files Browse the repository at this point in the history
…doesn't resolve `~` automatically (#260)
  • Loading branch information
cloudhan authored Aug 6, 2024
1 parent 1f8d4a0 commit 13a6f13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ jobs:
method: network
- name: bazel test //...
env:
# Bazelisk will download bazel to here
XDG_CACHE_HOME: ~/.cache/bazel-repo
# Bazelisk will download bazel to here, ensure it is cached within tests.
XDG_CACHE_HOME: /home/runner/.cache/bazel-repo
run: bazelisk --bazelrc=.github/workflows/ci.bazelrc --bazelrc=.bazelrc test //...
- name: Create rules archive
run: |
Expand Down

0 comments on commit 13a6f13

Please sign in to comment.