PalacePal/.github/workflows/build.yml

27 lines
531 B
YAML

name: Build Client & Server
on:
push:
paths:
- 'Pal.Client/**'
- 'Pal.Common/**'
- 'Pal.Server/**'
- 'vendor/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore