Skip to content

Commit

Permalink
CI: Include Debug Symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
caxanga334 committed Apr 22, 2024
1 parent c8fbd64 commit 27376a8
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
ambuild_target: 'x86'
package_name: 'windows-x86'
build_sdks: 'tf2,dods,css,hl2dm,orangebox,sdk2013,bms,l4d,l4d2,eye'
dbgsym_ext: 'pdb'

- buildjobs: windows-x64
os_version: windows-latest
Expand All @@ -36,6 +37,7 @@ jobs:
ambuild_target: 'x86_64'
package_name: 'windows-x86-64'
build_sdks: 'tf2'
dbgsym_ext: 'pdb'

- buildjobs: linux-latest
os_version: ubuntu-latest
Expand All @@ -45,6 +47,7 @@ jobs:
ambuild_target: 'x86,x86_64'
package_name: 'linux-latest'
build_sdks: 'tf2,dods,css,hl2dm,orangebox,sdk2013,bms,l4d,l4d2'
dbgsym_ext: 'dbg'

steps:
- name: Install Packages (Linux)
Expand Down Expand Up @@ -116,12 +119,17 @@ jobs:
uses: benjlevesque/[email protected]
id: short-sha

- name: Upload a Build Artifact
- name: Upload Extension Build Artifact
uses: actions/[email protected]
with:
name: navbot-${{ matrix.package_name }}-${{ steps.short-sha.outputs.sha }}
path: |
navbot/build/package/*

- name: Upload Debugging Symbols Artifact
uses: actions/[email protected]
with:
name: navbot-dbgsym-${{ matrix.package_name }}-${{ steps.short-sha.outputs.sha }}
path: |
navbot/build/extension/**/*.${{ matrix.dbgsym_ext }}

0 comments on commit 27376a8

Please sign in to comment.