From 60b78d8ab53163bb4ee3e9753fb8981d2c5c8f7d Mon Sep 17 00:00:00 2001 From: KatoakDR <68095633+KatoakDR@users.noreply.github.com> Date: Tue, 17 Oct 2023 21:40:36 -0500 Subject: [PATCH] chore: try to fix windows sentry cli perms --- .github/workflows/build.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 01d71a8a..4d240f28 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -52,6 +52,7 @@ jobs: SENTRY_ORG: ${{ github.repository_owner }} SENTRY_PROJECT: ${{ github.event.repository.name }} run: | + echo "" > .env echo "SENTRY_INGEST_DOMAIN=${SENTRY_INGEST_DOMAIN}" >> .env echo "SENTRY_AUTH_TOKEN=${SENTRY_AUTH_TOKEN}" >> .env echo "SENTRY_DSN=${SENTRY_DSN}" >> .env @@ -62,6 +63,14 @@ jobs: echo "__SENTRY_DEBUG__=false" >> .env echo "__SENTRY_TRACING__=false" >> .env + - name: Create .sentryclirc file for Sentry CLI + env: + SENTRY_ADMIN_TOKEN: ${{ secrets.SENTRY_ADMIN_TOKEN }} + run: | + echo "" > .sentryclirc + echo "[auth]" >> .sentryclirc + echo "token=${SENTRY_ADMIN_TOKEN}" >> .sentryclirc + - name: Install dependencies run: yarn install