deploy src/**/*.nupkg
This commit is contained in:
@ -8,7 +8,7 @@ before_script:
|
||||
- echo "Before script section"
|
||||
- echo "For example you might run an update here or install a build dependency"
|
||||
- echo "Or perhaps you might print out some debugging details"
|
||||
- dotnet restore --ignore-failed-sources
|
||||
- dotnet restore
|
||||
|
||||
after_script:
|
||||
- echo "After script section"
|
||||
@ -45,7 +45,7 @@ deploy:
|
||||
script:
|
||||
- dotnet pack -c Release
|
||||
- dotnet nuget add source "$CI_SERVER_URL/api/v4/projects/$CI_PROJECT_ID/packages/nuget/index.json" --name gitlab --username gitlab-ci-token --password $CI_JOB_TOKEN --store-password-in-clear-text
|
||||
- dotnet nuget push "bin/Release/*.nupkg" --source gitlab
|
||||
- dotnet nuget push "src/*/bin/Release/*.nupkg" --source gitlab
|
||||
only:
|
||||
- master
|
||||
|
||||
|
Reference in New Issue
Block a user