Update eng/pipelines/templates/jobs/sdk-diff-tests.yml

Co-authored-by: Přemek Vysoký <premek.vysoky@microsoft.com>
This commit is contained in:
Milena Hristova 2023-03-06 15:34:18 +01:00 committed by GitHub
parent a4ddd00e8c
commit 64dfee55b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -94,7 +94,8 @@ jobs:
sdk_tarball_name=$(find "$(Pipeline.Workspace)/Artifacts" -name "dotnet-sdk-*-${{ parameters.targetRid }}.tar.gz" -exec basename {} \;)
if [[ -z $sdk_tarball_name ]]; then
if [[ -z "$sdk_tarball_name" ]]; then
fail "Source-build SDK tarball does not exist in '$(Pipeline.Workspace)/Artifacts'"
exit 1
fi