From 8d681f1de5a75217565dba5e2f1645837e8d18d4 Mon Sep 17 00:00:00 2001 From: Nathaniel van Diepen Date: Sun, 18 Aug 2024 13:48:01 -0600 Subject: [PATCH] Debug logging for sentry release --- .github/workflows/build.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7bb7ee8e..ee22c768 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -114,7 +114,7 @@ jobs: if: ${{ github.ref == 'refs/heads/master' }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - uses: actions/download-artifact@v4 @@ -136,5 +136,13 @@ jobs: token: ${{ secrets.SENTRY_AUTH_TOKEN }} organization: ${{ secrets.SENTRY_ORG }} project: ${{ secrets.SENTRY_PROJECT }} + - name: Upload debug artifacts (debug) + if: ${{ !runner.debug }} + run: sentry-cli debug-files upload --include-sources . + env: + SENTRY_LOG_LEVEL: info - name: Upload debug artifacts + if: ${{ runner.debug }} run: sentry-cli debug-files upload --include-sources . + env: + SENTRY_LOG_LEVEL: debug