Update to SHVDN nightly #97
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build test | |
on: | |
push: | |
branches: | |
- '*' # matches every branch that doesn't contain a '/' | |
- '*/*' # matches every branch containing a single '/' | |
- '**' # matches every branch | |
- '!main' # excludes main | |
- '!dev-nightly' # excludes nightly | |
pull_request: | |
branches: [ "main", "dev-nightly" ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
dotnet-version: ['6.0.x'] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: ${{ matrix.dotnet-version }} | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Restore nuget packages | |
run: nuget restore | |
- name: Build client and installer | |
run: dotnet build RageCoop.Client.Installer/RageCoop.Client.Installer.csproj --configuration Release -o bin/Release/Client/RageCoop | |
- name: Build server win-x64 | |
run: dotnet build RageCoop.Server/RageCoop.Server.csproj -o bin/Release/Server | |
- name: Upload server | |
uses: actions/upload-artifact@v3 | |
with: | |
name: RageCoop.Server | |
path: bin/Release/Server | |
- name: Upload Client | |
uses: actions/upload-artifact@v3 | |
with: | |
name: RageCoop.Client | |
path: bin/Release/Client | |
- uses: actions/checkout@v2 | |