Skip to content

Commit

Permalink
- Move -p:EnableCompressionInSingleFile=true in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
KoalaBear84 committed Jan 22, 2024
1 parent d17e703 commit 9a5479f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
build_args: --no-self-contained
suffix: ""
- self-contained: self-contained
build_args: --self-contained -p:PublishTrimmed=true -p:TrimMode=partial -p:EnableCompressionInSingleFile=true
build_args: --self-contained -p:PublishTrimmed=true -p:TrimMode=partial
suffix: "-self-contained"

runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
run: dotnet test src/OpenDirectoryDownloader --configuration Release -p:Version=${{ steps.get_version.outputs.VERSION }}

- name: Publish with dotnet
run: dotnet publish src/OpenDirectoryDownloader --configuration Release -p:Version=${{ steps.get_version.outputs.VERSION }} --framework net8.0 --runtime ${{ matrix.target }} ${{ matrix.build_args }} -p:PublishSingleFile=true --output ./OpenDirectoryDownloader-${{ steps.get_version.outputs.VERSION }}-${{ matrix.target }}${{ matrix.suffix }}
run: dotnet publish src/OpenDirectoryDownloader --configuration Release -p:Version=${{ steps.get_version.outputs.VERSION }} --framework net8.0 --runtime ${{ matrix.target }} ${{ matrix.build_args }} -p:PublishSingleFile=true -p:EnableCompressionInSingleFile=true --output ./OpenDirectoryDownloader-${{ steps.get_version.outputs.VERSION }}-${{ matrix.target }}${{ matrix.suffix }}

- name: Set executable bit (linux only)
if: ${{ matrix.os == 'ubuntu-latest' }}
Expand Down

0 comments on commit 9a5479f

Please sign in to comment.