Skip to content

Commit

Permalink
- Moved -p:EnableCompressionInSingleFile=true back
Browse files Browse the repository at this point in the history
  • Loading branch information
KoalaBear84 committed Jan 22, 2024
1 parent 43fefa3 commit 0df8fac
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 @@ -51,7 +51,7 @@ jobs:
build_args: --no-self-contained
suffix: ""
- self-contained: self-contained
build_args: --self-contained -p:PublishTrimmed=true -p:TrimMode=partial
build_args: --self-contained -p:PublishTrimmed=true -p:TrimMode=partial -p:EnableCompressionInSingleFile=true
suffix: "-self-contained"

runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -80,7 +80,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 -p:EnableCompressionInSingleFile=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 --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 0df8fac

Please sign in to comment.