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