Commit graph

20 commits

Author SHA1 Message Date
Titus Fortner
be4ac32ff6
allow saving cache to be optional (#131) 2026-01-11 08:30:32 -08:00
Xavier Bonaventura
b26a6f0e11
Fix bazel version not working with disk cache (#119) 2026-01-10 12:27:24 -08:00
Karthik Sethuraman
905421c656
allow a list of files for repositoryCacheConfig (#117)
---------
Co-authored-by: Karthik Sethuraman <ksethuraman@linkedin.com>
2025-12-16 08:02:30 -08:00
Malte Poll
54c9086be8
Include architecture in cache key (#91)
Otherwise, running tests on macos-13 and macos-15 uses the same cache key for Intel and Apple Silicon.

Note: I had some trouble regenerating the `dist` without introducing huge changes in the output. For that reason I skipped updating `index.js.map`.
2025-08-05 06:42:41 -07:00
Alex Rodionov
40aa0be72e
Co-locate Bazel output base with workspace (#82)
Fixes #81
2025-05-27 08:15:10 -07:00
Caleb Zulawski
e0e802d0ce
Add module-root option for changing module location within the repository (#69) 2025-02-21 07:17:33 -08:00
Brett McLarnon
bc949b7ed4
Include repository cache files in the disk cache key. (#64)
Like BUILD file changes, changes to workspace dependencies can
significantly affect the contents of the disk cache. Prior to this
change, upreving dependencies wasn't itself sufficient to update the
disk cache, resulting in repeatedly rebuilding dependencies until some
subsequent commit happened to modify BUILD files.
2025-01-24 14:03:38 -08:00
Philipp Stephani
451432a104 Enable caches for all Bazel commands, not just build-related ones.
Caching applies to all commands,
cf. https://bazel.build/versions/8.0.0/reference/command-line-reference#flag--disk_cache.
2025-01-05 15:09:17 -08:00
Alex Rodionov
438b351914 Export BAZELISK_GITHUB_TOKEN variable
Fixes #57
2025-01-05 14:55:26 -08:00
Alex Rodionov
0f9296f333 Allow changing output base path 2024-12-20 16:28:37 -08:00
Andy Aylward
2ebddb28d9
Use process.env.RUNNER_TEMP instead of os.tmpdir() (#47) 2024-10-30 14:16:51 -07:00
Alex Rodionov
5058960dd0 Support passing files to hash in repository-cache 2024-03-05 14:25:19 -08:00
Alex Rodionov
1428e4eb46 Support bzlmod 2024-02-26 10:58:05 -08:00
Alex Rodionov
14997dcb06 Support bazelisk-version input
Also adds instruction on how to migrate from bazelbuild/setup-bazelisk
2024-02-07 06:24:11 -08:00
Alex Rodionov
fb0c8c5285 Allow to disable specific external caches 2024-01-18 11:56:04 -08:00
Alex Rodionov
d23b2a7513 Write homerc both to USERPROFILE and HOME on Windows 2023-04-27 07:38:12 -07:00
Alex Rodionov
3c0903ad5b Use manifests for external cache to avoid overfetching 2023-01-11 13:40:42 -08:00
Alex Rodionov
91e634d3e9 Upgrade to latest version of @actons/cache (with -L patch) 2023-01-09 14:30:16 -08:00
Alex Rodionov
596e834564 Ensure disk-cache is disabled by default 2023-01-04 16:54:02 -08:00
Alex Rodionov
c2309d72bd Hello world 2023-01-04 16:31:00 -08:00