From e71c6ef43286e1b765b3a0c44ba3db1cffb5cf70 Mon Sep 17 00:00:00 2001 From: Reelix Date: Mon, 29 Apr 2024 18:37:05 +0200 Subject: [PATCH] Update dotnet-publish.yml Removed trimming and enabled compression for a smaller resultant filesize --- .github/workflows/dotnet-publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dotnet-publish.yml b/.github/workflows/dotnet-publish.yml index 0352ae5..604fab9 100644 --- a/.github/workflows/dotnet-publish.yml +++ b/.github/workflows/dotnet-publish.yml @@ -20,10 +20,10 @@ jobs: run: dotnet restore - name: Publish run: | - dotnet publish -r win-x64 --self-contained true --property:PublishDir=bin/win-x64/,assemblyname=reecon,PublishTrimmed=true --configuration=Release - dotnet publish -r linux-x64 --self-contained true --property:PublishDir=bin/linux-x64/,assemblyname=reecon,PublishTrimmed=true --configuration=Release - dotnet publish -r linux-arm64 --self-contained true --property:PublishDir=bin/linux-arm64/,assemblyname=reecon,PublishTrimmed=true --configuration=Release - dotnet publish -r linux-musl-x64 --self-contained true --property:PublishDir=bin/linux-musl-x64/,assemblyname=reecon,PublishTrimmed=true --configuration=Release + dotnet publish -r win-x64 --self-contained true --property:PublishDir=bin/win-x64/,assemblyname=reecon,PublishTrimmed=true,PublishSingleFile=true,EnableCompressionInSingleFile=true --configuration=Release + dotnet publish -r linux-x64 --self-contained true --property:PublishDir=bin/linux-x64/,assemblyname=reecon,PublishTrimmed=true,PublishSingleFile=true,EnableCompressionInSingleFile=true --configuration=Release + dotnet publish -r linux-arm64 --self-contained true --property:PublishDir=bin/linux-arm64/,assemblyname=reecon,PublishTrimmed=true,PublishSingleFile=true,EnableCompressionInSingleFile=true --configuration=Release + dotnet publish -r linux-musl-x64 --self-contained true --property:PublishDir=bin/linux-musl-x64/,assemblyname=reecon,PublishTrimmed=true,PublishSingleFile=true,EnableCompressionInSingleFile=true --configuration=Release mv bin/win-x64/reecon.exe bin/reecon.exe mv bin/linux-x64/reecon bin/reecon-linux-x64 mv bin/linux-arm64/reecon bin/reecon-linux-arm64