artifacts

This commit is contained in:
Paul Schneider
2021-05-09 16:28:20 +01:00
parent db6f514fb5
commit 61dc82df5b
3 changed files with 21 additions and 27 deletions

View File

@ -35,7 +35,7 @@ publish:
stage: deploy
artifacts:
paths:
- bin/Release/netcoreapp2.1/publish/
- src/nuget-host/bin/Release/netcoreapp2.1/publish/
script:
- dotnet publish --version-suffix ci --configuration Release --ignore-failed-sources
@ -43,7 +43,7 @@ pack:
stage: deploy
artifacts:
paths:
- bin/Release/nuget-host.*.nupkg
- src/nuget-host/bin/Release/nuget-host.*.nupkg
script:
- dotnet pack --configuration Release --no-restore
- nuget push -Source $NUGETSOURCE -ApiKey $NUGETSOURCEAPIKEY src/nuget-host/bin/Release/nuget-host.*.nupkg
- nuget push -Source $NUGETSOURCE -ApiKey "$NUGETSOURCEAPIKEY" src/nuget-host/bin/Release/nuget-host.*.nupkg