ci: invoke vpk.dll directly, slim restore step
This commit is contained in:
2 files changed
+7
-21
No files matched your search
@@ -39,17 +39,8 @@ jobs:
|
||||
shell: powershell
|
||||
run: |
|
||||
$ErrorActionPreference = "Stop"
|
||||
Get-Location
|
||||
Get-ChildItem .config -File
|
||||
Write-Output "USERPROFILE=$env:USERPROFILE"
|
||||
Write-Output "DOTNET_CLI_HOME=$env:DOTNET_CLI_HOME"
|
||||
Write-Output "DOTNET_ROOT=$env:DOTNET_ROOT"
|
||||
Write-Output "NUGET_PACKAGES=$env:NUGET_PACKAGES"
|
||||
dotnet --list-sdks
|
||||
dotnet tool restore --tool-manifest .config/dotnet-tools.json
|
||||
if ($LASTEXITCODE -ne 0) { throw "tool restore failed ($LASTEXITCODE)" }
|
||||
dotnet tool list
|
||||
Get-ChildItem "$env:USERPROFILE/.dotnet/tools" -Recurse -ErrorAction SilentlyContinue | Select-Object FullName
|
||||
- name: Restore
|
||||
shell: powershell
|
||||
run: dotnet restore src/RgbLedStripController/RgbLedStripController.csproj --configfile NuGet.Config
|
||||
@@ -95,17 +86,8 @@ jobs:
|
||||
shell: powershell
|
||||
run: |
|
||||
$ErrorActionPreference = "Stop"
|
||||
Get-Location
|
||||
Get-ChildItem .config -File
|
||||
Write-Output "USERPROFILE=$env:USERPROFILE"
|
||||
Write-Output "DOTNET_CLI_HOME=$env:DOTNET_CLI_HOME"
|
||||
Write-Output "DOTNET_ROOT=$env:DOTNET_ROOT"
|
||||
Write-Output "NUGET_PACKAGES=$env:NUGET_PACKAGES"
|
||||
dotnet --list-sdks
|
||||
dotnet tool restore --tool-manifest .config/dotnet-tools.json
|
||||
if ($LASTEXITCODE -ne 0) { throw "tool restore failed ($LASTEXITCODE)" }
|
||||
dotnet tool list
|
||||
Get-ChildItem "$env:USERPROFILE/.dotnet/tools" -Recurse -ErrorAction SilentlyContinue | Select-Object FullName
|
||||
- name: Assert tag matches csproj version
|
||||
shell: powershell
|
||||
run: |
|
||||
|
||||
Reference in new issue
Block a user