Skip to content

Commit 78e4f00

Browse files
committed
Auto merge of #61763 - pietroalbini:azure-fix-condition, r=<try>
ci: fix ci stats upload condition The condition I suggested in #61632 was not correct and it errors out while evaluating. This fixes the condition. [Example of a failure](https://dev.azure.com/rust-lang/rust/_build/results?buildId=543). r? @alexcrichton
2 parents 3f511ad + 2cd516c commit 78e4f00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .azure-pipelines/steps/run.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,6 @@ steps:
155155
- bash: aws s3 cp --acl public-read cpu-usage.csv s3://$DEPLOY_BUCKET/rustc-builds/$BUILD_SOURCEVERSION/cpu-$SYSTEM_JOBNAME.csv
156156
env:
157157
AWS_SECRET_ACCESS_KEY: $(AWS_SECRET_ACCESS_KEY)
158-
condition: contains(variables, 'AWS_SECRET_ACCESS_KEY')
158+
condition: variables['AWS_SECRET_ACCESS_KEY']
159159
continueOnError: true
160160
displayName: Upload CPU usage statistics

0 commit comments

Comments
 (0)