Fix workflow.yml

This commit is contained in:
IvanZosimov 2022-08-17 15:54:28 +02:00
parent 389dc577bd
commit da71ad5d36

View File

@ -8,6 +8,7 @@ on:
branches: branches:
- main - main
- releases/* - releases/*
- ADRdotnet
paths-ignore: paths-ignore:
- '**.md' - '**.md'
@ -233,10 +234,10 @@ jobs:
- name: Verify preview version - name: Verify preview version
shell: pwsh shell: pwsh
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")) { throw "Unexpected version" }
__tests__/verify-dotnet.ps1 $version __tests__/verify-dotnet.ps1 $version
test-proxy: test-proxy:
runs-on: ubuntu-latest runs-on: ubuntu-latest