Runner test 4
Some checks failed
Server AOT Publish / publish (push) Failing after 3s

This commit is contained in:
olcxja 2026-05-02 07:21:16 +02:00
commit 614023c7fd
2 changed files with 42 additions and 1 deletions

View file

@ -20,7 +20,13 @@ jobs:
- name: Publish Native AOT
run: dotnet publish ./LarpixServer/LarpixServer.csproj -r linux-x64 -c Release -o ./publish
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

View file

@ -0,0 +1,35 @@
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 ./LarpixVoice/LarpixVoice.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: native-binary
path: ./publish/