From 073af05665db64c2876ebc339c646302fff83228 Mon Sep 17 00:00:00 2001 From: sabihoshi Date: Mon, 24 May 2021 03:52:54 +0800 Subject: [PATCH] Exclude PDB files in release --- .github/workflows/dotnet.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 6a6a015..f27ef17 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -25,10 +25,10 @@ jobs: run: dotnet publish GenshinLyreMidiPlayer.WPF -r win-x64 -c Release -o .\output --self-contained false -p:PublishSingleFile=true - name: Zip release - run: 7z a GenshinLyreMidiPlayer_${{ steps.tag.outputs.VERSION }}_win-x64.zip .\output\* + run: 7z a GenshinLyreMidiPlayer_${{ steps.tag.outputs.VERSION }}_win-x64.zip .\output\* -x!*.pdb - name: 7Zip release - run: 7z a GenshinLyreMidiPlayer_${{ steps.tag.outputs.VERSION }}_win-x64.7z .\output\* + run: 7z a GenshinLyreMidiPlayer_${{ steps.tag.outputs.VERSION }}_win-x64.7z .\output\* -x!*.pdb - name: Create Release uses: ncipollo/release-action@v1.8.4