LarpixServer/.forgejo/workflows/publish.yaml
olcxja bd66114442
All checks were successful
Server AOT Publish / publish (push) Successful in 11s
Runner test 3
2026-05-02 07:18:32 +02:00

29 lines
No EOL
560 B
YAML

name: Server AOT Publish
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
publish:
runs-on: dotnet
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Restore dependencies
run: dotnet restore
- name: Publish Native AOT
run: dotnet publish ./LarpixServer/LarpixServer.csproj -r linux-x64 -c Release -o ./publish
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: native-binary
path: ./publish/