Accommodate previews and release candidates in MSFT-to-source-build comparison test (#13990)

* Update MSFT SDK download file glob to accommodate previews
This commit is contained in:
Logan Bussell 2022-06-21 13:06:26 -07:00 committed by GitHub
parent ee0a1ef84c
commit 1d4e3bbe8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,7 +68,7 @@ jobs:
- ${{ if ne(parameters.excludeSdkContentTests, 'true') }}:
- download: ${{ parameters.installerBuildResourceId }}
artifact: BlobArtifacts
patterns: '**/dotnet-sdk-!(*-*)-linux-${{ parameters.architecture }}.tar.gz'
patterns: '**/dotnet-sdk-+([0-9]).+([0-9]).+([0-9])?(-preview*|-rc*)-linux-${{ parameters.architecture }}.tar.gz'
displayName: Download MSFT sdk Tarball
- ${{ if eq(parameters.usePreviousArtifacts, 'true') }}: