From 55a0bcc0eed3739d761a7e5c6884d8265a8491f5 Mon Sep 17 00:00:00 2001 From: William Chong Date: Thu, 12 Sep 2024 19:46:40 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Set=20sentry=20env=20in=20github?= =?UTF-8?q?=20action?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/production_build.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/production_build.yaml b/.github/workflows/production_build.yaml index cbcc3aab..7a14a5f7 100644 --- a/.github/workflows/production_build.yaml +++ b/.github/workflows/production_build.yaml @@ -57,6 +57,9 @@ jobs: working-directory: ios env: SENTRY_LOAD_DOTENV: 0 + SENTRY_ORG: ${{ vars.SENTRY_ORG }} + SENTRY_PROJECT: ${{ vars.SENTRY_PROJECT }} + SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} FASTLANE_PASSWORD: ${{ secrets.FASTLANE_APPLE_PASSWORD }} APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }} APPLE_CONNECT_API_KEY_ID: ${{ secrets.APPLE_CONNECT_API_KEY_ID }} @@ -121,6 +124,10 @@ jobs: working-directory: android env: RUBYOPT: '-rostruct' # TODO: Remove when https://github.com/fastlane/fastlane/pull/21950 gets released + SENTRY_LOG_LEVEL: 'info' SENTRY_LOAD_DOTENV: 0 + SENTRY_ORG: ${{ vars.SENTRY_ORG }} + SENTRY_PROJECT: ${{ vars.SENTRY_PROJECT }} + SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} ANDROID_RELEASE_KEY_STORE_PASSWORD: ${{ secrets.ANDROID_RELEASE_KEY_STORE_PASSWORD }} ANDROID_RELEASE_KEY_KEY_PASSWORD: ${{ secrets.ANDROID_RELEASE_KEY_KEY_PASSWORD }}