LarpixServer/.forgejo/workflows/Server.yaml
olcxja 9249ca3f89
All checks were successful
Server Build / publish (push) Successful in 37s
Voice Build / publish (push) Successful in 25s
Update workflows
2026-05-09 11:59:10 +02:00

37 lines
No EOL
827 B
YAML

name: Server Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
publish:
runs-on: dotnet
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Dotnet Restore
run: dotnet restore
- name: Build Native
run: |
dotnet publish ./LarpixServer/LarpixServer.csproj \
-c Release \
-r linux-x64 \
--self-contained true \
-p:PublishSingleFile=true \
-p:PublishTrimmed=true \
-p:IncludeNativeLibrariesForSelfExtract=true \
-p:IncludeAllContentForSelfExtract=true \
-o ./publish
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: LarpixServer
path: ./publish/LarpixServer