deploy src/**/*.nupkg

broken/ef
Paul Schneider 3 years ago
parent 4fa03c5a1d
commit 7752620bef
1 changed files with 2 additions and 2 deletions

@ -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

Loading…