From c931ef15511078a4e45dcc3a3da06ff8a0edebc1 Mon Sep 17 00:00:00 2001 From: Chuck Grindel Date: Mon, 11 Dec 2023 15:34:42 -0700 Subject: [PATCH 1/2] chore: use extractions/netrc --- .github/workflows/workflow.yaml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index e4bb819..0bbff48 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -35,15 +35,20 @@ jobs: with: buildbuddy_api_key: ${{ secrets.BUILDBUDDY_API_KEY }} bazelrc_path: .bazelrc.auth + - uses: extractions/netrc@v1 + with: + machine: api.github.com + password: ${{ secrets.GITHUB_TOKEN }} + # TODO: REMOVE ME! + - name: DEBUG + shell: bash + run: | + cat >&2 "$HOME/.netrc" - name: Configure run: | cat >>.bazelrc.local <~/.netrc <.bazelrc.disable-stardoc <<-EOF build --build_tag_filters=-stardoc_generation test --test_tag_filters=-stardoc_generation From 55237feb09f82fa83a191fc57e1b26ccd1b05d29 Mon Sep 17 00:00:00 2001 From: Chuck Grindel Date: Mon, 11 Dec 2023 15:40:32 -0700 Subject: [PATCH 2/2] Remove debug code --- .github/workflows/workflow.yaml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index 0bbff48..fe84ae1 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -39,11 +39,6 @@ jobs: with: machine: api.github.com password: ${{ secrets.GITHUB_TOKEN }} - # TODO: REMOVE ME! - - name: DEBUG - shell: bash - run: | - cat >&2 "$HOME/.netrc" - name: Configure run: | cat >>.bazelrc.local <