Skip to content

Commit 89e9326

Browse files
committed
fix: ensure run in a bash shell on windows
1 parent a3fb2e3 commit 89e9326

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

.github/workflows/build.yml

+1-23
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
cache-dependency-path: yarn.lock
4646

4747
- name: Create .env file from GitHub Secrets
48+
shell: bash
4849
env:
4950
SENTRY_INGEST_DOMAIN: ${{ secrets.SENTRY_INGEST_DOMAIN }}
5051
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
@@ -63,29 +64,6 @@ jobs:
6364
echo "__SENTRY_DEBUG__=false" >> .env
6465
echo "__SENTRY_TRACING__=false" >> .env
6566
66-
- name: Create .sentryclirc file for Sentry CLI
67-
env:
68-
SENTRY_ADMIN_TOKEN: ${{ secrets.SENTRY_ADMIN_TOKEN }}
69-
SENTRY_ORG: ${{ github.repository_owner }}
70-
SENTRY_PROJECT: ${{ github.event.repository.name }}
71-
run: |
72-
echo "" > .sentryclirc
73-
echo "[defaults]" >> .sentryclirc
74-
echo "org=${SENTRY_ORG}" >> .sentryclirc
75-
echo "project=${SENTRY_PROJECT}" >> .sentryclirc
76-
echo "[auth]" >> .sentryclirc
77-
echo "token=${SENTRY_ADMIN_TOKEN}" >> .sentryclirc
78-
echo "[log]" >> .sentryclirc
79-
echo "level=debug" >> .sentryclirc
80-
81-
grep "org" .sentryclirc
82-
grep "project" .sentryclirc
83-
84-
echo "SENTRY_ORG=${SENTRY_ORG}"
85-
echo "SENTRY_PROJECT=${SENTRY_PROJECT}"
86-
87-
npx sentry-cli info
88-
8967
- name: Install dependencies
9068
run: yarn install
9169

0 commit comments

Comments
 (0)