Skip to content

Commit 424d1ef

Browse files
committed
feat(github-actions): allow a credential to be provided for configuring remote bazel setup
Allow an input for a credential to provide authentication for RBE setup.
1 parent 5663ac5 commit 424d1ef

File tree

3 files changed

+53
-30
lines changed

3 files changed

+53
-30
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ inputs:
1212
description: |
1313
Whether to allow remote execution to be configured for Windows. By default,
1414
Windows is only configured to leverage remote caching.
15+
google_credential:
16+
description: |
17+
A Google credential to be used as authentication for RBE API usages.
18+
upload_local_results:
19+
default: false
20+
description: |
21+
Whether to enable the flag for uploading the results of location actions into
22+
the remote cache.
1523
1624
shell:
1725
default: bash
@@ -25,4 +33,6 @@ runs:
2533
BAZELRC_PATH: ${{ inputs.bazelrc }}
2634
ALLOW_WINDOWS_RBE: ${{ inputs.allow_windows_rbe }}
2735
NGAT: 'bKddxrYADouso3haW7lCFA=='
36+
with:
37+
upload_local_results: ${{ inputs.upload_local_results }}
2838
shell: ${{ inputs.shell }}

0 commit comments

Comments
 (0)