Fix IS_FORK variable (#246)

Without this PR, this variable ends up being set to the string
"variables['System.PullRequest.IsFork']" which meant that we never
uploaded to the Bazel cache.
This commit is contained in:
moritzkiefer-da 2019-04-05 14:24:23 +02:00 committed by GitHub
parent 52ce976792
commit eaa4a1ab47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ steps:
- bash: ci/build.sh
displayName: 'Build'
env:
IS_FORK: variables['System.PullRequest.IsFork']
IS_FORK: $(System.PullRequest.IsFork)
# to upload to the bazel cache
GOOGLE_APPLICATION_CREDENTIALS_CONTENT: $(GOOGLE_APPLICATION_CREDENTIALS_CONTENT)