From ba0ef9c7c5209b0716482a135a8e3f31e7cfee9a Mon Sep 17 00:00:00 2001 From: Shiroiame-Kusu Date: Fri, 29 Mar 2024 14:30:35 +0800 Subject: [PATCH] Update Action in order to build SingleFile with Environment --- .github/workflows/Build.yml | 15 +++++++++++++-- Hakuu/Universal/Sources/net472/Updater.exe | Bin 6144 -> 6144 bytes .../Sources/net472/publish/Updater.exe | Bin 6144 -> 6144 bytes 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index 40c5815b..5bc6d053 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -79,5 +79,16 @@ jobs: name: Hakuu_${{ matrix.project }}_dotnet6_publish path: ${{ github.workspace }}\Hakuu\${{ matrix.project }}\bin\Debug\net6.0-windows\win-x64\publish if-no-files-found: ignore - - \ No newline at end of file + + - name: Build the project(Publish,Release,SingleFile) + run: | + dotnet clean + dotnet publish Hakuu/${{ matrix.project }}/Hakuu-${{ matrix.project }}.csproj -f net6.0-windows -r win-x64 -p:PublishSingleFile=true -p:PublishReadyToRun=true -p:Configuration=Release --sc -p:IncludeAllContentForSelfExtract=true -p:EnableCompressionInSingleFile=true + + - name: Upload Hakuu(Publish,Release) + uses: actions/upload-artifact@v3 + with: + name: Hakuu_${{ matrix.project }}_dotnet6_WithEnvironment_SingleFile + path: ${{ github.workspace }}\Hakuu\${{ matrix.project }}\bin\Release\net6.0-windows\win-x64\publish + if-no-files-found: ignore + \ No newline at end of file diff --git a/Hakuu/Universal/Sources/net472/Updater.exe b/Hakuu/Universal/Sources/net472/Updater.exe index dc271c092a30b8f2b995c06b6ade416c6d638a78..834a1a8ce1fe4935f7bdc60d7ad6fe7f0729c108 100644 GIT binary patch delta 168 zcmZoLXfT-2!6Gu%>&eERB|HMsi*zieVOmmZ zVzQaJfq`Y3S*mf0rMaj)0>#XLV#W+9K(;xM28o#hc@{vN#9#!3#z5K<%ud`KEWDNl03)a<<^TWy delta 168 zcmZoLXfT-2!P1c8d1YhI5*~rW-*rx$QlI158ZIEbUUF0RW(VGKMvXK>qg2bJG~?tH z19Q{lloaFCv}8kr6cgh#6ANP#OLJ3`6wB1K6qC*O`BYi_(-;gHj2KcGEE$p*(in^x zk{MDM3>eHAOu?)aphzlEJQ=9U04QSu&eERB|HMsi*zieVOmmZ zVzQaJfq`Y3S*mf0rMaj)0>#XLV#W+9K(;xM28o#hc@{vN#9#!3#z5K<%ud`KEWDNl03)a<<^TWy delta 168 zcmZoLXfT-2!P1c8d1YhI5*~rW-*rx$QlI158ZIEbUUF0RW(VGKMvXK>qg2bJG~?tH z19Q{lloaFCv}8kr6cgh#6ANP#OLJ3`6wB1K6qC*O`BYi_(-;gHj2KcGEE$p*(in^x zk{MDM3>eHAOu?)aphzlEJQ=9U04QSu