Skip to content

Commit 76e9529

Browse files
committed
Attempt to push nuget packages to appveyor project feed (account feeds are password protected)
If successful we can likely build on every commit as only tags will be published to the feed (the packages will still be build and can be obtained from the artifacts from every build for manual testing)
1 parent 9a54c66 commit 76e9529

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

appveyor.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ artifacts:
2020
name: nupkgfiles
2121

2222
# Publish to appveyor nuget feed
23-
deploy:
24-
provider: NuGet
25-
server: https://ci.appveyor.com/nuget/cefsharp-ci
26-
api_key:
27-
secure: vNESC6IT/8JSw4bcX9i68/mj0K1Jhq1apofM4pQtbuw=
28-
artifact: nupkgfiles
23+
#deploy:
24+
#provider: NuGet
25+
#server: https://ci.appveyor.com/nuget/cefsharp-ci
26+
#api_key:
27+
# secure: vNESC6IT/8JSw4bcX9i68/mj0K1Jhq1apofM4pQtbuw=
28+
#artifact: nupkgfiles

build.ps1

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,13 @@ function Nupkg
388388
[System.IO.File]::WriteAllLines($Filename, $Text)
389389

390390
. $Nuget pack nuget\cef.sdk.nuspec -NoPackageAnalysis -Version $CefPackageVersion -OutputDirectory nuget
391+
392+
if ($env:APPVEYOR_REPO_TAG -eq "True")
393+
{
394+
appveyor PushArtifact "nuget\cef.redist.x86.$CefPackageVersion.nupkg"
395+
appveyor PushArtifact "nuget\cef.redist.x64.$CefPackageVersion.nupkg"
396+
appveyor PushArtifact "nuget\cef.sdk.$CefPackageVersion.nupkg"
397+
}
391398
}
392399

393400
function DownloadNuget()

0 commit comments

Comments
 (0)