Skip to content

Commit

Permalink
misc: enable trimming for windows publish.
Browse files Browse the repository at this point in the history
  • Loading branch information
rabbitism committed Sep 13, 2024
1 parent 40ad757 commit 64dcae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
run: mkdir upload

- name: Publish win-x64
run: dotnet publish demo/Ursa.Demo.Desktop -r win-x64 -c Release --sc /p:PublishSingleFile=true /p:IncludeNativeLibrariesForSelfExtract=true -o ./publish/win64
run: dotnet publish demo/Ursa.Demo.Desktop -r win-x64 -c Release --sc /p:PublishSingleFile=true /p:PublishTrimmed=true /p:IncludeNativeLibrariesForSelfExtract=true -o ./publish/win64

- name: Zip win-x64
run: |
Expand Down

0 comments on commit 64dcae9

Please sign in to comment.