Skip to content
Snippets Groups Projects
Commit e47eadbf authored by Anduin Xue's avatar Anduin Xue
Browse files

Update .gitlab-ci.yml to use this old gitlab instance.

parent 9bf64d06
No related branches found
No related tags found
No related merge requests found
Pipeline #910 failed with stages
in 18 seconds
......@@ -64,9 +64,6 @@ test:
reports:
junit:
- ./**/TestResults.xml
coverage_report:
coverage_format: cobertura
path: ./Cobertura.xml
publish:
stage: publish
......@@ -88,33 +85,3 @@ pack:
expire_in: 1 week
paths:
- '**/*.nupkg'
upload_to_nuget:
stage: deploy
environment: production
needs:
- pack
dependencies:
- pack
script:
- |
for file in $(find . -name "*.nupkg"); do
dotnet nuget push "$file" --api-key "$NUGET_API_KEY" --source "https://api.nuget.org/v3/index.json" --skip-duplicate || exit 1;
done
only:
- master
upload_to_local_nuget:
stage: deploy
environment: production
needs:
- pack
dependencies:
- pack
script:
- |
for file in $(find . -name "*.nupkg"); do
dotnet nuget push "$file" --api-key "$LOCAL_NUGET_API_KEY" --source "https://nuget.aiursoft.cn/v3/index.json" --skip-duplicate || exit 1;
done
only:
- master
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment