Skip to content

Commit

Permalink
Try trimming too
Browse files Browse the repository at this point in the history
  • Loading branch information
UnknownShadow200 committed Dec 31, 2023
1 parent 46346e2 commit 95ed64e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:

# publish standalone windows binaries
- name: Publish-win64
run: dotnet publish CLI/MCGalaxyCLI_dotnet.csproj -r win-x64 --self-contained
run: dotnet publish CLI/MCGalaxyCLI_dotnet.csproj -r win-x64 --self-contained -p:PublishTrimmed=true

- uses: ./.github/actions/upload_build
if: ${{ always() && steps.compile_net.outcome == 'success' }}
Expand All @@ -80,7 +80,7 @@ jobs:

# publish standalone linux binaries
- name: Publish-linux64
run: dotnet publish CLI/MCGalaxyCLI_dotnet.csproj -r linux-x64 --self-contained
run: dotnet publish CLI/MCGalaxyCLI_dotnet.csproj -r linux-x64 --self-contained -p:PublishTrimmed=true

- uses: ./.github/actions/upload_build
if: ${{ always() && steps.compile_net.outcome == 'success' }}
Expand Down

0 comments on commit 95ed64e

Please sign in to comment.