CI should now publish the project for windows64 and linux64. WIP

This commit is contained in:
Kwoth
2021-08-21 23:54:45 +02:00
parent 88c005c50e
commit a278415618

View File

@@ -3,6 +3,7 @@ image: mcr.microsoft.com/dotnet/sdk:5.0
stages:
- build
- test
- publish
variables:
project: "NadekoBot"
@@ -19,6 +20,15 @@ build:
- "cd $build_path"
- "dotnet build -c Release"
publish:
stage: publish
variables:
build_path: "src"
script:
- "cd $build_path"
- "dotnet publish -c Release -r win7-x64 -o output-windows-x64 src/NadekoBot/NadekoBot.csproj"
- "dotnet publish -c Release -r linux-x64 -o output-linux-x64 src/NadekoBot/NadekoBot.csproj"
test:
stage: test
variables: