Update e2e tests to handle cases with RC .NET versions

This commit is contained in:
IvanZosimov 2022-09-16 17:01:28 +02:00
parent f32e21fe46
commit c32f58ecce

View File

@ -236,7 +236,7 @@ jobs:
run: | run: |
$version = & dotnet --version $version = & dotnet --version
Write-Host "Installed version: $version" Write-Host "Installed version: $version"
if (-not $version.Contains("preview")) { throw "Unexpected version" } if (-not ($version.Contains("preview") -or $version.Contains("rc"))) { throw "Unexpected version" }
test-proxy: test-proxy:
runs-on: ubuntu-latest runs-on: ubuntu-latest