Files

34 lines
777 B
YAML

name: Host GUI (Avalonia)
on:
push:
paths:
- "host/**"
- ".github/workflows/host.yml"
pull_request:
paths:
- "host/**"
- ".github/workflows/host.yml"
workflow_dispatch:
permissions:
contents: read
jobs:
build:
name: Build Avalonia host
runs-on: [self-hosted, Linux, X64, co-server]
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
with:
persist-credentials: false
- uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9
env:
DOTNET_INSTALL_DIR: ${{ runner.tool_cache }}/dotnet
with:
dotnet-version: "8.0.x"
- name: Build host
run: dotnet build host/CommonwealthOnline.Host.csproj -c Release --nologo