Commit a8a189a
committed
ci: refactor self-hosted bazel setup into composite action
Refactors the repeated setup-bazel steps in ci.yml into a local
composite action (.github/actions/setup-bazel-self-hosted).
This ensures a consistent configuration across all CI jobs, including:
- Disabling GitHub-backed caching to avoid redundancy and conflicts.
- Setting a unique output base per runner (${{ runner.workspace }}/.bazel)
to avoid server trashing.
- Configuring local persistent cache paths in the runner's home directory.
Future updates to the self-hosted Bazel configuration can now be
managed in a single place.
Signed-off-by: Miguel Osorio <miguelosorio@google.com>1 parent a327e2a commit a8a189a
2 files changed
Lines changed: 20 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 23 | + | |
28 | 24 | | |
29 | 25 | | |
30 | 26 | | |
| |||
40 | 36 | | |
41 | 37 | | |
42 | 38 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 39 | + | |
48 | 40 | | |
49 | 41 | | |
50 | 42 | | |
| |||
59 | 51 | | |
60 | 52 | | |
61 | 53 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
| 54 | + | |
67 | 55 | | |
68 | 56 | | |
69 | 57 | | |
| |||
0 commit comments