From 3d2efc48ba7ee77f4fb1dd116e46c98bca6d3552 Mon Sep 17 00:00:00 2001 From: Chipseq <108542751+xChipseq@users.noreply.github.com> Date: Thu, 30 Jan 2025 23:58:42 +0100 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 261fb81..c587a0a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,5 +26,13 @@ jobs: run: dotnet build --no-restore - name: Test run: dotnet test --no-build --verbosity normal - - name: Build for release - run: dotnet publish --no-restore + # Releases with .NET build-in + - name: Build for release x86.NET + run: dotnet publish -r win-x86 -c Release /p:PublishSingleFile=true /p:SelfContained=true /p:EnableCompressionInSingleFile=true + - name: Build for release x64.NET + run: dotnet publish -r win-x64 -c Release /p:PublishSingleFile=true /p:SelfContained=true /p:EnableCompressionInSingleFile=true + # Releases without .NET + - name: Build for release x86 + run: dotnet publish -r win-x86 -c Release /p:PublishSingleFile=true /p:SelfContained=false /p:EnableCompressionInSingleFile=true + - name: Build for release x64 + run: dotnet publish -r win-x64 -c Release /p:PublishSingleFile=true /p:SelfContained=false /p:EnableCompressionInSingleFile=true