mirror of
https://github.com/actions/setup-dotnet.git
synced 2024-11-25 21:03:06 +07:00
Debug
This commit is contained in:
parent
ac1baccba4
commit
1c7be1087d
6
.github/workflows/workflow.yml
vendored
6
.github/workflows/workflow.yml
vendored
@ -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
Block a user