This commit is contained in:
parent
614023c7fd
commit
c515d33f90
2 changed files with 10 additions and 6 deletions
|
|
@ -19,14 +19,16 @@ jobs:
|
||||||
run: dotnet restore
|
run: dotnet restore
|
||||||
|
|
||||||
- name: Publish Native AOT
|
- name: Publish Native AOT
|
||||||
|
run: |
|
||||||
run: dotnet publish ./LarpixServer/LarpixServer.csproj -c Release \
|
dotnet publish ./LarpixServer/LarpixServer.csproj \
|
||||||
|
-c Release \
|
||||||
-r linux-x64 \
|
-r linux-x64 \
|
||||||
--self-contained true \
|
--self-contained true \
|
||||||
-p:PublishSingleFile=true \
|
-p:PublishSingleFile=true \
|
||||||
-p:PublishTrimmed=true \
|
-p:PublishTrimmed=true \
|
||||||
-p:IncludeNativeLibrariesForSelfExtract=true \
|
-p:IncludeNativeLibrariesForSelfExtract=true \
|
||||||
-p:IncludeAllContentForSelfExtract=true \ -o ./publish
|
-p:IncludeAllContentForSelfExtract=true \
|
||||||
|
-o ./publish
|
||||||
|
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
|
|
||||||
|
|
@ -19,14 +19,16 @@ jobs:
|
||||||
run: dotnet restore
|
run: dotnet restore
|
||||||
|
|
||||||
- name: Publish Native AOT
|
- name: Publish Native AOT
|
||||||
|
run: |
|
||||||
run: dotnet publish ./LarpixVoice/LarpixVoice.csproj -c Release \
|
dotnet publish ./LarpixVoice/LarpixVoice.csproj \
|
||||||
|
-c Release \
|
||||||
-r linux-x64 \
|
-r linux-x64 \
|
||||||
--self-contained true \
|
--self-contained true \
|
||||||
-p:PublishSingleFile=true \
|
-p:PublishSingleFile=true \
|
||||||
-p:PublishTrimmed=true \
|
-p:PublishTrimmed=true \
|
||||||
-p:IncludeNativeLibrariesForSelfExtract=true \
|
-p:IncludeNativeLibrariesForSelfExtract=true \
|
||||||
-p:IncludeAllContentForSelfExtract=true \ -o ./publish
|
-p:IncludeAllContentForSelfExtract=true \
|
||||||
|
-o ./publish
|
||||||
|
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue