mirror of
https://gitlab.acidiclight.dev/sociallydistant/sociallydistant.git
synced 2025-01-22 01:21:50 -05:00
Remove need for manually adding NuGet feeds
Issue: #14 Signed-off-by: Ritchie Frodomar <alkalinethunder@gmail.com>
This commit is contained in:
parent
e8963a8aa7
commit
5039e44baf
2 changed files with 8 additions and 4 deletions
|
@ -16,8 +16,6 @@ build_base:
|
|||
stage: build
|
||||
image: cr.acidiclight.dev/docker-images/monogame-linux-build/dotnet-mgcb:latest
|
||||
before_script:
|
||||
- if (dotnet nuget list source | grep gitlab); then dotnet nuget remove source gitlab; fi
|
||||
- dotnet nuget add source -n gitlab https://gitlab.acidiclight.dev/api/v4/projects/13/packages/nuget/index.json
|
||||
- mkdir bin
|
||||
script:
|
||||
- dotnet build -c release src
|
||||
|
@ -49,8 +47,6 @@ update_online_manual:
|
|||
stage: deploy
|
||||
image: cr.acidiclight.dev/docker-images/monogame-linux-build/dotnet-mgcb:latest
|
||||
before_script:
|
||||
- if (dotnet nuget list source | grep gitlab); then dotnet nuget remove source gitlab; fi
|
||||
- dotnet nuget add source -n gitlab https://gitlab.acidiclight.dev/api/v4/projects/13/packages/nuget/index.json
|
||||
- dotnet tool update -g docfx
|
||||
script:
|
||||
- export PATH="$PATH:$HOME/.dotnet/tools"
|
||||
|
|
8
nuget.config
Normal file
8
nuget.config
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<packageSources>
|
||||
<clear />
|
||||
<add key="Nuget" value="https://api.nuget.org/v3/index.json" />
|
||||
<add key="gitlab-acidiclight" value="https://gitlab.acidiclight.dev/api/v4/projects/13/packages/nuget/index.json" />
|
||||
</packageSources>
|
||||
</configuration>
|
Loading…
Reference in a new issue