Skip to content

Commit a621b13

Browse files
committed
appveyor: Try to fix build with new deploy script
Second attempt with modified script.
1 parent b9c3ff0 commit a621b13

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

appveyor.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,7 @@ deploy:
3535
secure: q710an2WFRwLh6rZQ/I9nKlNt/3d5kYkdUoA5Y1a/hZLr3DGZliSayP+ejF6bj30
3636
skip_symbols: false
3737
on:
38-
branch: master
38+
branch: master
39+
deploy_script:
40+
- appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
41+
- ps: ($artifacts.values | Where-Object {($_.path -like '*.nupkg') -and !($_.path -like '*.symbols.nupkg')}) | foreach-object {nuget.exe push $_.path -Source https://www.nuget.org/api/v2/package -ApiKey $env:api_key; if ($lastexitcode -ne 0) {throw}}

0 commit comments

Comments
 (0)