Added node-dump-syms installation for Linux

In the GitHub workflow, a step has been added to install node-dump-syms when the runner OS is Linux. Also, the file path for Windows in Post Bugsplat Symbols has been updated to specifically target Release files.
meow-7.2.2
Beq 2024-09-02 17:39:41 +01:00
parent aeb146f269
commit acae30fd28
1 changed files with 4 additions and 1 deletions

View File

@ -304,6 +304,9 @@ jobs:
echo "viewer_build=$viewer_build" >> "$GITHUB_OUTPUT"
echo "viewer_channel=${{ env.FS_RELEASE_CHAN }}" >> "$GITHUB_OUTPUT"
echo "viewer_release_type=${{ env.FS_RELEASE_TYPE }}" >> "$GITHUB_OUTPUT"
- name: Install node-dump-syms
if: runner.os == 'Linux'
run: npm install -g @bugsplat/node-dump-syms
- name: Post Bugsplat Symbols
uses: beqjanus/symbol-upload@main
with:
@ -312,7 +315,7 @@ jobs:
database: ${{ steps.version.viewer_release_type == 'Release' && secrets.BUGSPLAT_RELEASE_DB || secrets.BUGSPLAT_PREVIEW_DB }}
application: "Firestorm-${{ steps.version.outputs.viewer_channel}}"
version: ${{ steps.version.outputs.viewer_version }}.${{ steps.version.outputs.viewer_build }}
files: ${{ runner.os == 'Windows' && '**/*.{pdb,exe,dll}' || runner.os == 'macOS' && '**/*.xcarchive.zip' || '**/{do-not-run-directly-firestorm-bin,*.sym}' }}
files: ${{ runner.os == 'Windows' && '**/Release/*.{pdb,exe,dll}' || runner.os == 'macOS' && '**/*.xcarchive.zip' || '**/{do-not-run-directly-firestorm-bin,*.sym}' }}
directory: "build-*"
node-version: "20"
dumpSyms: ${{ runner.os == 'Linux' && 'true' || 'false' }}