Skip to content

Commit 6245846

Browse files
ci: remove pdb in release builds
1 parent 17dcf64 commit 6245846

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/xmake.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,15 @@ jobs:
4343
- name: Create Archive
4444
if: github.event_name == 'release'
4545
run: |
46+
Compress-Archive -Path ./build/windows/* -DestinationPath windows-build-pdb.zip
47+
Remove-Item -Path "./build/windows/*.pdb" -Recurse -Force
4648
Compress-Archive -Path ./build/windows/* -DestinationPath windows-build.zip
4749
4850
- name: Upload Release Assets
4951
if: github.event_name == 'release'
5052
uses: softprops/action-gh-release@v1
5153
with:
52-
files: windows-build.zip
54+
files: |
55+
windows-build.zip
56+
windows-build-pdb.zip
5357
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)