Skip to content

Commit

Permalink
Update dotnet-publish.yml
Browse files Browse the repository at this point in the history
Removed trimming and enabled compression for a smaller resultant filesize
  • Loading branch information
Reelix authored Apr 29, 2024
1 parent 979d0dd commit e71c6ef
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dotnet-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e71c6ef

Please sign in to comment.