From f8341c30446ed59d4361a36f3e7e5a31cba81a75 Mon Sep 17 00:00:00 2001 From: HolographicHat <58809250+HolographicHat@users.noreply.github.com> Date: Wed, 25 Jun 2025 01:04:25 +0800 Subject: [PATCH] Update ci --- .github/workflows/dotnet.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index bc12d5f..1854146 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -21,10 +21,17 @@ jobs: run: dotnet restore - name: Build run: dotnet build -c Release --no-restore - - name: Publish + - name: Publish-AOT run: dotnet publish --property:OutputPath=.\publish\ - - name: Upload artifact + - name: Upload-AOT uses: actions/upload-artifact@v4 with: - name: Artifacts + name: Artifacts-AOT path: YaeAchievement\publish\publish + - name: Publish-NoAOT + run: dotnet publish --property:OutputPath=.\naot-publish\ --property:PublishAot=false --property:PublishSingleFile=true --property:PublishTrimmed=true + - name: Upload-NoAOT + uses: actions/upload-artifact@v4 + with: + name: Artifacts-NoAOT + path: YaeAchievement\naot-publish\publish