diff --git a/.github/workflows/build-suite-native-preview.yml b/.github/workflows/build-suite-native-preview.yml index ffbd4e8d590..484c02c981c 100644 --- a/.github/workflows/build-suite-native-preview.yml +++ b/.github/workflows/build-suite-native-preview.yml @@ -23,6 +23,7 @@ jobs: SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} EXPO_PUBLIC_ENVIRONMENT: preview BRANCH_NAME: ${{ github.head_ref || github.ref_name }} + COMMIT_HASH: ${{ github.sha }} permissions: contents: read pull-requests: write @@ -47,10 +48,8 @@ jobs: command: eas build --profile preview --platform all working-directory: suite-native/app - - name: Install deps and build libs - run: | - yarn install --immutable - yarn message-system-sign-config + - name: Build message system config + run: yarn message-system-sign-config - name: Create preview update uses: expo/expo-github-action/preview@v8 diff --git a/suite-native/app/app.config.ts b/suite-native/app/app.config.ts index 94c412e2179..de575ab1e4a 100644 --- a/suite-native/app/app.config.ts +++ b/suite-native/app/app.config.ts @@ -246,7 +246,7 @@ export default ({ config }: ConfigContext): ExpoConfig => { }, plugins: getPlugins(), extra: { - commitHash: process.env.EAS_BUILD_GIT_COMMIT_HASH || '', + commitHash: process.env.EAS_BUILD_GIT_COMMIT_HASH || process.env.COMMIT_HASH || '', eas: { projectId, },