Skip to content

Commit 8d4fdbd

Browse files
committed
[github/workflows/build] Enable PublishSingleFile
1 parent e434d12 commit 8d4fdbd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737

3838
- name: Publish Windows
3939
run: |
40-
dotnet publish ${{ matrix.projectName }} --self-contained true -c ${{ matrix.configuration }} --runtime ${{ matrix.runtime }}
40+
dotnet publish ${{ matrix.projectName }} --self-contained true -c ${{ matrix.configuration }} --runtime ${{ matrix.runtime }} -p:PublishSingleFile=true
4141
Compress-Archive -Path ./${{ matrix.projectName }}/bin/${{ matrix.configuration }}/net8.0/${{ matrix.runtime }}/publish/* -Destination ${{ matrix.projectName }}.zip
4242
4343
- name: Upload build artifacts

0 commit comments

Comments
 (0)