Update nightly-build.yaml

This commit is contained in:
Sardelka9515 2022-06-07 08:31:25 +08:00 committed by GitHub
parent 9407d80858
commit 3d6dbd5f2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,13 +23,13 @@ jobs:
- name: Restore dependencies
run: dotnet restore
- name: Build client
run: dotnet build RageCoop.Client/RageCoop.Client.csproj --no-restore --configuration Release
run: dotnet build RageCoop.Client/RageCoop.Client.csproj --no-restore --configuration Release -o RageCoop.Client/bin/RageCoop
- name: Build server win-x64
run: dotnet publish RageCoop.Server/RageCoop.Server.csproj --self-contained -p:PublishSingleFile=true -p:PublishReadyToRun=true -p:PublishTrimmed=true -r win-x64 -o RageCoop.Server/bin/Release/net6.0/publish/win-x64
- uses: actions/upload-artifact@v3
with:
name: RageCoop.Client
path: RageCoop.Client/bin/Release
path: RageCoop.Client/bin
- uses: actions/upload-artifact@v3
with:
name: RageCoop.Server-win-x64