Skip to content

allow saving cache to be optional#131

Merged
p0deje merged 1 commit intobazel-contrib:mainfrom
titusfortner:save_cache
Jan 11, 2026
Merged

allow saving cache to be optional#131
p0deje merged 1 commit intobazel-contrib:mainfrom
titusfortner:save_cache

Conversation

@titusfortner
Copy link
Contributor

Implements #88

Issue #18 is specific to disk cache, but a global config is easier, and I'm not sure the use case for separate toggles.

example:

- uses: bazel-contrib/setup-bazel@0.16.0
  with:
    bazelisk-cache: true
    disk-cache: ${{ github.workflow }}
    repository-cache: true
    cache-save: ${{ github.event_name != 'pull_request' }}

@p0deje p0deje merged commit be4ac32 into bazel-contrib:main Jan 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants