From d5b14bd6f80f095c604deef4fe463865c6f06562 Mon Sep 17 00:00:00 2001 From: Nathaniel van Diepen Date: Wed, 2 Oct 2024 23:29:33 -0600 Subject: [PATCH] Install sentry-cli manually --- .github/workflows/build.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ee22c768..5c61e095 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -129,20 +129,22 @@ jobs: SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }} SENTRY_URL: https://sentry.eeems.codes - name: Setup Sentry CLI - uses: mathieu-bour/setup-sentry-cli@v2 - with: - version: latest - url: https://sentry.eeems.codes - token: ${{ secrets.SENTRY_AUTH_TOKEN }} - organization: ${{ secrets.SENTRY_ORG }} - project: ${{ secrets.SENTRY_PROJECT }} - - name: Upload debug artifacts (debug) + run: curl -sL https://sentry.io/get-cli/ | bash + - name: Upload debug artifacts if: ${{ !runner.debug }} run: sentry-cli debug-files upload --include-sources . env: SENTRY_LOG_LEVEL: info - - name: Upload debug artifacts + SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} + SENTRY_ORG: ${{ secrets.SENTRY_ORG }} + SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }} + SENTRY_URL: https://sentry.eeems.codes + - name: Upload debug artifacts (debug) if: ${{ runner.debug }} run: sentry-cli debug-files upload --include-sources . env: SENTRY_LOG_LEVEL: debug + SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} + SENTRY_ORG: ${{ secrets.SENTRY_ORG }} + SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }} + SENTRY_URL: https://sentry.eeems.codes