Skip to content

Commit

Permalink
Exclude PDB files in release
Browse files Browse the repository at this point in the history
  • Loading branch information
sabihoshi committed May 23, 2021
1 parent b7bd01c commit 073af05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 073af05

Please sign in to comment.