|
26 | 26 | buildbuddy_api_key: ${{ secrets.BUILDBUDDY_API_KEY }}
|
27 | 27 | bazelrc_path: .bazelrc.auth
|
28 | 28 | - uses: ./.github/actions/set_tcp_keepalive_time
|
29 |
| - - uses: ./.github/actions/authenticate_github_api |
| 29 | + - uses: extractions/netrc@v1 |
30 | 30 | with:
|
31 |
| - github_token: ${{ secrets.GITHUB_TOKEN }} |
| 31 | + machine: api.github.com |
| 32 | + password: ${{ secrets.GITHUB_TOKEN }} |
32 | 33 | - name: Configure
|
33 | 34 | run: |
|
34 | 35 | cat >>.bazelrc.local <<EOF
|
|
79 | 80 | buildbuddy_api_key: ${{ secrets.BUILDBUDDY_API_KEY }}
|
80 | 81 | bazelrc_path: .bazelrc.auth
|
81 | 82 | - uses: ./.github/actions/set_tcp_keepalive_time
|
82 |
| - - uses: ./.github/actions/authenticate_github_api |
| 83 | + - uses: extractions/netrc@v1 |
83 | 84 | with:
|
84 |
| - github_token: ${{ secrets.GITHUB_TOKEN }} |
| 85 | + machine: api.github.com |
| 86 | + password: ${{ secrets.GITHUB_TOKEN }} |
85 | 87 | - name: Configure
|
86 | 88 | run: |
|
87 | 89 | case ${{ runner.os }} in
|
@@ -181,9 +183,10 @@ jobs:
|
181 | 183 | buildbuddy_api_key: ${{ secrets.BUILDBUDDY_API_KEY }}
|
182 | 184 | bazelrc_path: .bazelrc.auth
|
183 | 185 | - uses: ./.github/actions/set_tcp_keepalive_time
|
184 |
| - - uses: ./.github/actions/authenticate_github_api |
| 186 | + - uses: extractions/netrc@v1 |
185 | 187 | with:
|
186 |
| - github_token: ${{ secrets.GITHUB_TOKEN }} |
| 188 | + machine: api.github.com |
| 189 | + password: ${{ secrets.GITHUB_TOKEN }} |
187 | 190 | - name: Configure
|
188 | 191 | shell: bash
|
189 | 192 | run: |
|
|
0 commit comments