Update nightly-build.yaml
This commit is contained in:
parent
51eaf4f56d
commit
9407d80858
16
.github/workflows/nightly-build.yaml
vendored
16
.github/workflows/nightly-build.yaml
vendored
@ -20,29 +20,19 @@ jobs:
|
||||
uses: actions/setup-dotnet@v2
|
||||
with:
|
||||
dotnet-version: ${{ matrix.dotnet-version }}
|
||||
- name: Restore NuGet Packages
|
||||
run: nuget restore
|
||||
- name: Restore dependencies
|
||||
run: dotnet restore
|
||||
- name: Build client
|
||||
run: dotnet build RageCoop.Client/RageCoop.Client.csproj --no-restore --configuration Release
|
||||
- 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
|
||||
- uses: papeloto/action-zip@v1
|
||||
with:
|
||||
files: RageCoop.Server/bin/Release/net6.0/publish/win-x64
|
||||
dest: RageCoop.Server-win-x64.zip
|
||||
- uses: papeloto/action-zip@v1
|
||||
with:
|
||||
files: RageCoop.Client/bin/Release
|
||||
dest: RageCoop.Client.zip
|
||||
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.zip
|
||||
path: RageCoop.Client/bin/Release
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: RageCoop.Server-win-x64
|
||||
path: RageCoop.Server-win-x64.zip
|
||||
path: RageCoop.Server/bin/Release/net6.0/publish/win-x64
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user