Skip to content

Commit

Permalink
force specify nuget source
Browse files Browse the repository at this point in the history
  • Loading branch information
replaysMike committed Jun 27, 2023
1 parent 619bfd9 commit 9730097
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Scripts/appveyor-build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ $env:NODE_OPTIONS="--max_old_space_size=16384"
Write-Host "NODE_OPTIONS=$env:NODE_OPTIONS" -ForegroundColor cyan

Write-Host "Restoring packages..." -ForegroundColor green
dotnet restore $project
dotnet nuget add source https://api.nuget.org/v3/index.json -n nuget.org
dotnet restore -s https://api.nuget.org/v3/index.json $project
if ($LastExitCode -ne 0) { exit $LASTEXITCODE }

Write-Host "Building..." -ForegroundColor green
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pull_requests:
do_not_increment_build_number: true
branches:
only:
- master
#- master
skip_branch_with_pr: true
image: Visual Studio 2022
dotnet_csproj:
Expand Down

0 comments on commit 9730097

Please sign in to comment.