Skip to content

Commit b8fd873

Browse files
committed
feat(github-actions): support RBE in windows action VMs
We may execute inside WSL, and the configure remote action will run on the host, and should be able to forcibly enable RBE.
1 parent c3f52e5 commit b8fd873

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

github-actions/bazel/configure-remote/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ inputs:
77
description: |
88
If specified, the given `bazelrc` file is being updated to always run
99
with the `--config=remote` flag. Defaults to `.bazelrc.user`
10-
only_cache:
10+
allow_windows_rbe:
1111
default: false
1212
description: |
13-
Whether to only set up remote caching, instead of allowing for full
14-
remote execution (on Linux/macOS).
13+
Whether to allow remote execution to be configured for Windows. By default,
14+
Windows is only configured to leverage remote caching.
1515
1616
shell:
1717
default: bash
@@ -23,6 +23,6 @@ runs:
2323
- run: node $GITHUB_ACTION_PATH/configure-remote.cjs
2424
env:
2525
BAZELRC_PATH: ${{ inputs.bazelrc }}
26-
ONLY_CACHE: ${{ inputs.only_cache }}
26+
ALLOW_WINDOWS_RBE: ${{ inputs.allow_windows_rbe }}
2727
NGAT: 'bKddxrYADouso3haW7lCFA=='
2828
shell: ${{ inputs.shell }}

0 commit comments

Comments
 (0)