Skip to content

Commit 0df8fac

Browse files
committed
- Moved -p:EnableCompressionInSingleFile=true back
1 parent 43fefa3 commit 0df8fac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
build_args: --no-self-contained
5252
suffix: ""
5353
- self-contained: self-contained
54-
build_args: --self-contained -p:PublishTrimmed=true -p:TrimMode=partial
54+
build_args: --self-contained -p:PublishTrimmed=true -p:TrimMode=partial -p:EnableCompressionInSingleFile=true
5555
suffix: "-self-contained"
5656

5757
runs-on: ${{ matrix.os }}
@@ -80,7 +80,7 @@ jobs:
8080
run: dotnet test src/OpenDirectoryDownloader --configuration Release -p:Version=${{ steps.get_version.outputs.VERSION }}
8181

8282
- name: Publish with dotnet
83-
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 }}
83+
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 }}
8484

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

0 commit comments

Comments
 (0)