Skip to content

Commit

Permalink
fix: ensure run in a bash shell on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
KatoakDR committed Oct 18, 2023
1 parent a3fb2e3 commit 89e9326
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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

Expand Down

0 comments on commit 89e9326

Please sign in to comment.