Skip to content

Commit cff5b0c

Browse files
committed
Try remove double google auth in CLI build
1 parent 838990f commit cff5b0c

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/reusable_build_and_upload_rerun_cli.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -171,19 +171,16 @@ jobs:
171171
--release \
172172
--target ${{ needs.set-config.outputs.TARGET }}
173173
174-
- id: "auth"
175-
uses: google-github-actions/auth@v1
176-
with:
177-
workload_identity_provider: ${{ secrets.GOOGLE_WORKLOAD_IDENTITY_PROVIDER }}
178-
service_account: ${{ secrets.GOOGLE_SERVICE_ACCOUNT }}
179-
180174
- name: Get sha
181175
id: get-sha
182176
shell: bash
183177
run: |
184178
full_commit="${{ inputs.RELEASE_COMMIT || ((github.event_name == 'pull_request' && github.event.pull_request.head.sha) || github.sha) }}"
185179
echo "sha=$(echo $full_commit | cut -c1-7)" >> "$GITHUB_OUTPUT"
186180
181+
# IMPORTANT: we must NOT use google-github-actions/auth@v1 here, because it's already done by our setup-rust
182+
# action. Authenticating twice will cause the second authentication's clean-up to fail.
183+
187184
- name: "Upload rerun-cli (commit)"
188185
uses: google-github-actions/upload-cloud-storage@v1
189186
with:

0 commit comments

Comments
 (0)