Skip to content

Commit 3272e6e

Browse files
authored
Rollup merge of rust-lang#61763 - pietroalbini:azure-fix-condition, r=alexcrichton
ci: fix ci stats upload condition The condition I suggested in rust-lang#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 555b2d9 + 2cd516c commit 3272e6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.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)