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 <