From 19d2c23a45ece31f9b8abe89dcde65e7d463c2d0 Mon Sep 17 00:00:00 2001 From: Chuck Grindel Date: Mon, 27 Nov 2023 10:19:06 -0700 Subject: [PATCH] chore: update to use tweag/configure-bazel-remote-cache-auth --- .github/workflows/workflow.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index 2c7201b..e79cb69 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -29,18 +29,18 @@ jobs: steps: - uses: actions/checkout@v4 - uses: bazelbuild/setup-bazelisk@v2 + # DO NOT MERGE!!! + # TODO: Update with the correct tagged release. + - uses: tweag/configure-bazel-remote-cache-auth@fix_output + with: + buildbuddy_api_key: ${{ secrets.BUILDBUDDY_API_KEY }} + bazelrc_path: .bazelrc.local - name: Configure - env: - BUILDBUDDY_API_KEY: ${{ secrets.BUILDBUDDY_API_KEY }} run: | - if [ -z "$BUILDBUDDY_API_KEY" ]; then - cache_setting='--noremote_upload_local_results' - else - cache_setting="--remote_header=x-buildbuddy-api-key=$BUILDBUDDY_API_KEY" - fi - - cat >.bazelrc.local <&2 .bazelrc.local + # DEBUG END + cat >>.bazelrc.local <~/.netrc <