fix(ci): pass Sentry env vars to publish-play-store workflow
The sentry-cli source-map upload during bundleRelease fails with "An organization ID or slug is required" because SENTRY_ORG, SENTRY_PROJECT and SENTRY_AUTH_TOKEN were only declared in build.yml. Also align npm install with --legacy-peer-deps to match build.yml. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
7
.github/workflows/publish-play-store.yml
vendored
7
.github/workflows/publish-play-store.yml
vendored
@@ -9,6 +9,11 @@ on:
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
EXPO_PUBLIC_SENTRY_DSN: ${{ secrets.EXPO_PUBLIC_SENTRY_DSN }}
|
||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
|
||||
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
@@ -25,7 +30,7 @@ jobs:
|
||||
uses: android-actions/setup-android@v3
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm install
|
||||
run: npm install --legacy-peer-deps
|
||||
|
||||
- name: Expo prebuild
|
||||
run: npx expo prebuild --platform android --no-install
|
||||
|
||||
Reference in New Issue
Block a user