Debug
This commit is contained in:
parent
ac1baccba4
commit
1c7be1087d
|
@ -169,7 +169,8 @@ jobs:
|
|||
env:
|
||||
NUGET_AUTH_TOKEN: NOTATOKEN
|
||||
- name: Verify dotnet
|
||||
run: __tests__/verify-dotnet.sh 3.1.201
|
||||
shell: pwsh
|
||||
run: __tests__/verify-dotnet.ps1 3.1.201
|
||||
|
||||
test-bypass-proxy:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -189,4 +190,5 @@ jobs:
|
|||
env:
|
||||
NUGET_AUTH_TOKEN: NOTATOKEN
|
||||
- name: Verify dotnet
|
||||
run: __tests__/verify-dotnet.sh 3.1.201
|
||||
shell: pwsh
|
||||
run: __tests__/verify-dotnet.ps1 3.1.201
|
||||
|
|
|
@ -8,7 +8,7 @@ Write-Host "Found '$dotnet'"
|
|||
|
||||
$version = & $dotnet --version | Out-String | ForEach-Object { $_.Trim() }
|
||||
Write-Host "Version $version"
|
||||
if (-not ($version.StartsWith($args[0].ToString()))
|
||||
if (-not ($version.StartsWith($args[0].ToString())))
|
||||
{
|
||||
Write-Host "PATH='$env:PATH'"
|
||||
throw "Unexpected version"
|
||||
|
|
Loading…
Reference in New Issue