Enable AoT in csproj rather than in CI
This commit is contained in:
parent
be95907352
commit
8682942102
|
@ -20,7 +20,7 @@ jobs:
|
|||
with:
|
||||
dotnet-version: '9.0.x'
|
||||
- name: Build Windows
|
||||
run: dotnet publish KeepersCompound.Lightmapper/KeepersCompound.Lightmapper.csproj -c Release -o release/win-x64 -r win-x64 -p:PublishAot=true --nologo
|
||||
run: dotnet publish KeepersCompound.Lightmapper/KeepersCompound.Lightmapper.csproj -c Release -o release/win-x64 -r win-x64 --nologo
|
||||
- name: Upload Windows
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
@ -40,7 +40,7 @@ jobs:
|
|||
with:
|
||||
dotnet-version: '9.0.x'
|
||||
- name: Build
|
||||
run: dotnet publish KeepersCompound.Lightmapper/KeepersCompound.Lightmapper.csproj -c Release -o release/linux-x64 -r linux-x64 -p:PublishAot=true --nologo
|
||||
run: dotnet publish KeepersCompound.Lightmapper/KeepersCompound.Lightmapper.csproj -c Release -o release/linux-x64 -r linux-x64 --nologo
|
||||
- name: Upload Linux
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
|
|
@ -8,8 +8,7 @@
|
|||
<Nullable>enable</Nullable>
|
||||
<SelfContained>true</SelfContained>
|
||||
<PublishTrimmed>true</PublishTrimmed>
|
||||
<!-- <PublishSingleFile>true</PublishSingleFile>-->
|
||||
<!-- <PublishAot>true</PublishAot>-->
|
||||
<PublishAot>true</PublishAot>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
Loading…
Reference in New Issue