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