Skip to content

Commit

Permalink
Upload hs_err_pid files on failure
Browse files Browse the repository at this point in the history
Closes gh-257
  • Loading branch information
wilkinsona committed Jan 21, 2025
1 parent 895163c commit 0045803
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@ jobs:
groupName=$(echo $projectName | awk '{print substr($1, 0, index($1, "_") - 1)}')
echo SECRET_NAME_OWNER_IDS_PROJECT=OWNER_IDS_${projectName} >> $GITHUB_ENV
echo SECRET_NAME_OWNER_IDS_GROUP=OWNER_IDS_${groupName} >> $GITHUB_ENV
- name: Upload hs_err_pid files
if: failure()
uses: actions/upload-artifact@v4
with:
name: hs-err-pid-files
path: '**/build/**/hs_err_pid*.log'
- name: Send notification
uses: ./ci/.github/actions/send-notification
if: ${{ failure() || (steps.build.outcome == 'success' && inputs.expected_to_fail)}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@ jobs:
groupName=$(echo $projectName | awk '{print substr($1, 0, index($1, "_") - 1)}')
echo SECRET_NAME_OWNER_IDS_PROJECT=OWNER_IDS_${projectName} >> $GITHUB_ENV
echo SECRET_NAME_OWNER_IDS_GROUP=OWNER_IDS_${groupName} >> $GITHUB_ENV
- name: Upload hs_err_pid files
if: failure()
uses: actions/upload-artifact@v4
with:
name: hs-err-pid-files
path: '**/build/**/hs_err_pid*.log'
- name: Send notification
uses: ./ci/.github/actions/send-notification
if: ${{ failure() || (steps.build.outcome == 'success' && inputs.expected_to_fail)}}
Expand Down

0 comments on commit 0045803

Please sign in to comment.