From 86829421023cd79d1cb76715fecf73410de98412 Mon Sep 17 00:00:00 2001 From: Jarrod Doyle Date: Tue, 14 Jan 2025 20:32:35 +0000 Subject: [PATCH] Enable AoT in csproj rather than in CI --- .github/workflows/build.yaml | 4 ++-- .../KeepersCompound.Lightmapper.csproj | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 964a155..743019f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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: diff --git a/KeepersCompound.Lightmapper/KeepersCompound.Lightmapper.csproj b/KeepersCompound.Lightmapper/KeepersCompound.Lightmapper.csproj index b1971c2..cc8af3a 100644 --- a/KeepersCompound.Lightmapper/KeepersCompound.Lightmapper.csproj +++ b/KeepersCompound.Lightmapper/KeepersCompound.Lightmapper.csproj @@ -8,8 +8,7 @@ enable true true - - + true