mirror of
https://gitlab.durp.info/durfy/ci-includes/yml.git
synced 2026-05-10 01:01:29 -05:00
ci: render
Rendered by https://gitlab.com/developerdurp/yml/-/pipelines/1080619092
This commit is contained in:
parent
32bf3c878d
commit
91a91cd876
4 changed files with 36 additions and 4 deletions
13
jobs/nuget.yml
Normal file
13
jobs/nuget.yml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
.nuget_push:
|
||||
image: registry.durp.info/dotnet/core/sdk:latest
|
||||
script:
|
||||
# Begin of push.sh
|
||||
- |
|
||||
#Nuget Push
|
||||
IFS=";" read -a names <<< $PROJECT_NAME
|
||||
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
|
||||
count=0
|
||||
for i in ${names[@]};
|
||||
do dotnet nuget push "${CI_PROJECT_DIR}/packages/$i.$VERSION.nupkg" --source gitlab;
|
||||
done
|
||||
# End of push.sh
|
||||
Loading…
Add table
Add a link
Reference in a new issue