|
|
|
@ -11,7 +11,7 @@ before_script:
|
|
|
|
|
- dotnet restore
|
|
|
|
|
|
|
|
|
|
after_script:
|
|
|
|
|
- dotnet nuget delete gitlab
|
|
|
|
|
- dotnet nuget source remove gitlab
|
|
|
|
|
|
|
|
|
|
nonreg:
|
|
|
|
|
stage: test
|
|
|
|
@ -43,7 +43,7 @@ deploy:
|
|
|
|
|
when: always
|
|
|
|
|
script:
|
|
|
|
|
- dotnet pack -c Release
|
|
|
|
|
- dotnet nuget add source -name gitlab --username gitlab+deploy-token-2 --password $CI_JOB_TOKEN --store-password-in-clear-text "$CI_SERVER_URL/api/v4/projects/$CI_PROJECT_ID/packages/nuget/index.json"
|
|
|
|
|
- dotnet nuget add source --name gitlab --username gitlab+deploy-token-2 --password $CI_JOB_TOKEN --store-password-in-clear-text "$CI_SERVER_URL/api/v4/projects/$CI_PROJECT_ID/packages/nuget/index.json"
|
|
|
|
|
- dotnet nuget push src/*/bin/Release/*.nupkg -s gitlab
|
|
|
|
|
only:
|
|
|
|
|
- master
|
|
|
|
|