From 89e9326724fc5bbfb4e589658806aadf8391ccbd Mon Sep 17 00:00:00 2001 From: KatoakDR <68095633+KatoakDR@users.noreply.github.com> Date: Tue, 17 Oct 2023 23:28:58 -0500 Subject: [PATCH] fix: ensure run in a bash shell on windows --- .github/workflows/build.yml | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c63cf099..8f049b69 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,6 +45,7 @@ jobs: cache-dependency-path: yarn.lock - name: Create .env file from GitHub Secrets + shell: bash env: SENTRY_INGEST_DOMAIN: ${{ secrets.SENTRY_INGEST_DOMAIN }} SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} @@ -63,29 +64,6 @@ 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 }} - SENTRY_ORG: ${{ github.repository_owner }} - SENTRY_PROJECT: ${{ github.event.repository.name }} - run: | - echo "" > .sentryclirc - echo "[defaults]" >> .sentryclirc - echo "org=${SENTRY_ORG}" >> .sentryclirc - echo "project=${SENTRY_PROJECT}" >> .sentryclirc - echo "[auth]" >> .sentryclirc - echo "token=${SENTRY_ADMIN_TOKEN}" >> .sentryclirc - echo "[log]" >> .sentryclirc - echo "level=debug" >> .sentryclirc - - grep "org" .sentryclirc - grep "project" .sentryclirc - - echo "SENTRY_ORG=${SENTRY_ORG}" - echo "SENTRY_PROJECT=${SENTRY_PROJECT}" - - npx sentry-cli info - - name: Install dependencies run: yarn install