Skip to content

Commit

Permalink
enable trimming
Browse files Browse the repository at this point in the history
  • Loading branch information
dj-nitehawk committed Jul 4, 2024
1 parent 45b110e commit 1c00702
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/create-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Publish Binaries
working-directory: src/Server
run: |
dotnet publish ./InverterMon.Server.csproj -c Release -r ${{ matrix.rid }} --self-contained -p:PublishTrimmed=false -o ./bin/${{ matrix.rid }}
dotnet publish ./InverterMon.Server.csproj -c Release -r ${{ matrix.rid }} --self-contained -p:PublishTrimmed=true -o ./bin/${{ matrix.rid }}
rm -rf ./bin/${{ matrix.rid }}/BlazorDebugProxy
cd ./bin/${{ matrix.rid }}
zip -r -9 ../${{ matrix.rid }}.zip ./*
Expand Down
2 changes: 1 addition & 1 deletion src/Server/Properties/PublishProfiles/FolderProfile.pubxml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
<ProjectGuid>b608f59f-4c72-43fd-820c-a0badf4591af</ProjectGuid>
<SelfContained>true</SelfContained>
<PublishSingleFile>true</PublishSingleFile>
<PublishTrimmed>false</PublishTrimmed>
<PublishTrimmed>true</PublishTrimmed>
</PropertyGroup>
</Project>

0 comments on commit 1c00702

Please sign in to comment.