Skip to content

Commit

Permalink
#98 trim when push
Browse files Browse the repository at this point in the history
  • Loading branch information
gaufung committed Nov 26, 2020
1 parent 91a4354 commit c01163b
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 @@ -35,7 +35,7 @@ jobs:
run: |
tag=$(git describe --tags --abbrev=0)
release_name="ugit-$tag-${{ matrix.target }}"
dotnet publish src/Ugit/Ugit.csproj --framework net5.0 --runtime "${{ matrix.target }}" -c Release -o "$release_name"
dotnet publish src/Ugit/Ugit.csproj --framework net5.0 --runtime "${{ matrix.target }}" -c Release -o "$release_name" -p:PublishTrimmed=true
if [ "${{ matrix.taget }}" == "win-x64" ]; then
7z a -tzip "${release_name}.zip" "./${release_name}/*"
else
Expand Down

0 comments on commit c01163b

Please sign in to comment.