azure: try to fix escaping problem with paths that point into the artifact staging directory on windows
@@ -64,8 +64,8 @@ jobs:
# Note: SKIA_BINARIES_KEY is set to empty ('') when the build script decides not to publish.
- bash: |
cd skia-safe && cargo build --release --features "$(features)" --all-targets -vv
- export SKIA_BINARIES_TAG=$(cat $(Build.ArtifactStagingDirectory)/skia-binaries/tag.txt)
- export SKIA_BINARIES_KEY=$(cat $(Build.ArtifactStagingDirectory)/skia-binaries/key.txt)
+ export SKIA_BINARIES_TAG=$(cat "$(Build.ArtifactStagingDirectory)/skia-binaries/tag.txt")
+ export SKIA_BINARIES_KEY=$(cat "$(Build.ArtifactStagingDirectory)/skia-binaries/key.txt")
echo "##vso[task.setvariable variable=SKIA_BINARIES_TAG;]${SKIA_BINARIES_TAG}"
echo "##vso[task.setvariable variable=SKIA_BINARIES_KEY;]${SKIA_BINARIES_KEY}"
displayName: Build all targets in skia-safe
