diff --git a/azure/coverage.yml b/azure/coverage.yml index e61f22a..701c2d7 100644 --- a/azure/coverage.yml +++ b/azure/coverage.yml @@ -50,7 +50,7 @@ jobs: # Sadly we don't have a way of communicating the condition on has_secret - ${{ parameters.setup }} # Determine what features to use - - bash: "if [[ -z $FEATURES ]]; then echo \"##vso[task.setvariable variable=features]\"; else echo \"##vso[task.setvariable variable=features]--features '$FEATURES'\"; fi" + - bash: "if [[ -z $FEATURES ]]; then echo \"##vso[task.setvariable variable=features]\"; else echo \"##vso[task.setvariable variable=features]--features \\\"$FEATURES\\\"\"; fi" name: features displayName: Determine feature flags env: diff --git a/azure/test.yml b/azure/test.yml index 5540217..7cd71f6 100644 --- a/azure/test.yml +++ b/azure/test.yml @@ -37,7 +37,7 @@ jobs: parameters: rust: ${{ parameters.rust }} setup: ${{ parameters.setup }} - - bash: "if [[ -z $FEATURES ]]; then echo \"##vso[task.setvariable variable=features]\"; else echo \"##vso[task.setvariable variable=features]--features '$FEATURES'\"; fi" + - bash: "if [[ -z $FEATURES ]]; then echo \"##vso[task.setvariable variable=features]\"; else echo \"##vso[task.setvariable variable=features]--features \\\"$FEATURES\\\"\"; fi" name: features displayName: Determine feature flags env: