Skip to content

Commit 763053d

Browse files
huydhnpytorchmergebot
authored andcommitted
Always run OIDC auth on B200 to be able to upload artifacts to S3 (pytorch#161436)
Reported by @drisspg , in its current form, the OIDC auth step wasn't run when the previous test step failed. We need this to always run to be able to upload artifacts to S3. Pull Request resolved: pytorch#161436 Approved by: https://github.com/nWEIdia, https://github.com/drisspg
1 parent cf94cad commit 763053d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/_linux-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ jobs:
409409
job_identifier: ${{ github.workflow }}_${{ inputs.build-environment }}
410410

411411
- name: Authenticate with AWS
412-
if: ${{ contains(matrix.runner, 'b200') }}
412+
if: ${{ always() && contains(matrix.runner, 'b200') }}
413413
uses: aws-actions/configure-aws-credentials@ececac1a45f3b08a01d2dd070d28d111c5fe6722 # v4.1.0
414414
with:
415415
role-to-assume: arn:aws:iam::308535385114:role/gha_workflow_upload-benchmark-results

0 commit comments

Comments
 (0)