Skip to content

Commit cdceb5b

Browse files
author
xcssa
committed
修改打包发布
1 parent 8225bfa commit cdceb5b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,12 @@ jobs:
2424
dotnet-quality: 'preview'
2525

2626
- name: Publish
27-
run: dotnet publish sharpclaw -c Release -r ${{ matrix.rid }} --self-contained -p:PublishSingleFile=true -o out/${{ matrix.rid }}
27+
run: dotnet publish sharpclaw -c Release -r ${{ matrix.rid }} --self-contained -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -p:DebugType=none -p:GenerateDocumentationFile=false -o out/${{ matrix.rid }}
2828

2929
- name: Package
3030
run: |
3131
cd out/${{ matrix.rid }}
32+
rm -f *.pdb *.xml
3233
zip -r ../../sharpclaw-${{ matrix.rid }}.zip .
3334
3435
- uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)