Skip to content
代码片段 群组 项目
提交 7c1f5b41 编辑于 作者: Nick Gaskill's avatar Nick Gaskill
浏览文件

Merge branch 'Laurnz-master-patch-42551' into 'master'

Improve CI/CD NuGet deploy example

See merge request gitlab-org/gitlab!64594
No related branches found
No related tags found
无相关合并请求
......@@ -337,7 +337,7 @@ updated:
stage: deploy
script:
- dotnet pack -c Release
- dotnet nuget add source "${CI_API_V4_URL}/${CI_PROJECT_ID}/packages/nuget/index.json" --name gitlab --username gitlab-ci-token --password $CI_JOB_TOKEN --store-password-in-clear-text
- dotnet nuget add source "${CI_API_V4_URL}/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
only:
- master
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册