Skip to content

Commit

Permalink
ci: cache bazel on the master branch (#1145)
Browse files Browse the repository at this point in the history
  • Loading branch information
homuler committed Feb 3, 2024
1 parent b6961e5 commit fe4ac44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
retention-days: 1

- name: Cache bazel
if: inputs.is_master == 'true' && steps.cache-libs.outputs.cache-hit != 'true'
if: inputs.is_master && steps.cache-libs.outputs.cache-hit != 'true'
uses: actions/cache/save@v3
with:
path: ~/.cache/bazel
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
retention-days: 1

- name: Cache bazel
if: inputs.is_master == 'true' && steps.cache-libs.outputs.cache-hit != 'true'
if: inputs.is_master && steps.cache-libs.outputs.cache-hit != 'true'
uses: actions/cache/save@v3
with:
path: /private/var/tmp/_bazel_runner
Expand Down

0 comments on commit fe4ac44

Please sign in to comment.