mirror of
https://github.com/actions/setup-dotnet.git
synced 2024-11-22 19:41:08 +07:00
Debug
This commit is contained in:
parent
5c5ac76dc6
commit
059f1aa99b
4
.github/workflows/workflow.yml
vendored
4
.github/workflows/workflow.yml
vendored
@ -59,6 +59,10 @@ jobs:
|
|||||||
source-url: https://api.nuget.org/v3/index.json
|
source-url: https://api.nuget.org/v3/index.json
|
||||||
env:
|
env:
|
||||||
NUGET_AUTH_TOKEN: NOTATOKEN
|
NUGET_AUTH_TOKEN: NOTATOKEN
|
||||||
|
- name: Verify nuget config file
|
||||||
|
shell: pwsh
|
||||||
|
run: |
|
||||||
|
if (-Not (Test-Path "./nuget.config")) { throw "nuget file not generated correctly" }
|
||||||
- name: Verify dotnet
|
- name: Verify dotnet
|
||||||
if: runner.os != 'windows'
|
if: runner.os != 'windows'
|
||||||
run: __tests__/verify-dotnet.sh 3.1.201 2.2.402
|
run: __tests__/verify-dotnet.sh 3.1.201 2.2.402
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<configuration>
|
|
||||||
<activePackageSource>
|
|
||||||
<add key="NuGet official package source" value="https://api.nuget.org/v3/index.json" />
|
|
||||||
</activePackageSource>
|
|
||||||
</configuration>
|
|
@ -3,11 +3,6 @@ if (!$args[0])
|
|||||||
throw "Must supply dotnet version argument"
|
throw "Must supply dotnet version argument"
|
||||||
}
|
}
|
||||||
|
|
||||||
if (-Not (Test-Path "../nuget.config"))
|
|
||||||
{
|
|
||||||
throw "nuget file not generated correctly"
|
|
||||||
}
|
|
||||||
|
|
||||||
$dotnet = Get-Command dotnet | Select-Object -First 1 | ForEach-Object { $_.Path }
|
$dotnet = Get-Command dotnet | Select-Object -First 1 | ForEach-Object { $_.Path }
|
||||||
Write-Host "Found '$dotnet'"
|
Write-Host "Found '$dotnet'"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user