mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-09 21:48:04 -05:00
* feat(inji-293): Update Expo to 44.0.6 to fix ios build issues * feat(inji-293): Run ios verify build on pull requests from feature as well * feat(inji-293): revert ios build running on pull request to feature * feat(inji-293): Use dummy values for google services json and password * feat(inji-293): use dummy google services json variable directly instead of secret in verify workflow * feat(inji-293): Fix syntax error for using dummy google services json variable directly * feat(inji-293): remove unnecessary play file setup and update firebase setup to use dummy google service json * feat(inji-293): update dummy google services json with dummy values * feat(inji-293): use DUMMY_INJI_ANDROID_DEBUG_STOREPASS env for dummy password * feat(inji-293): refactor using dummy google service json in firebase * feat(inji-293): Use GITHUB_ENV to access file level env variables * feat(inji-293): read dummy google services json from a file * feat(inji-293): fix bash syntax of accessing env variable * feat(inji-293): fix bash syntax accessing dummy services json file * feat(inji-293): fix path to dummy google services json * feat(inji-293): fix bash syntax of reading dummy json * feat(inji-293): fix bash syntax of reading dummy json * feat(inji-293): fix bash syntax of reading dummy json * feat(inji-293): use python script to load dummy values from a env file * feat(inji-293): fix variable names in dummy env * feat(inji-293): Revert dot env usage to get dummy env values * feat(inji-293): update node version 18 for ios build verify Signed-off-by: Tilak Puli <tilakpuli15@gmail.com> * feat(inji-293): try using build_app_for_automation_on_simulator for ios build verify Signed-off-by: Tilak Puli <tilakpuli15@gmail.com> * feat(inji-293): try using build_app_for_automation_on_simulator for ios build verify Signed-off-by: Tilak Puli <tilakpuli15@gmail.com> * feat(inji-293): fix react native flipper failing in build Signed-off-by: Tilak Puli <tilakpuli15@gmail.com> * feat(inji-293): remove formatting changes in unchanged files Signed-off-by: Tilak Puli <tilakpuli15@gmail.com> --------- Signed-off-by: Tilak Puli <tilakpuli15@gmail.com>
60 lines
1.9 KiB
YAML
60 lines
1.9 KiB
YAML
name: PR - IOS build verification
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- develop
|
|
- demobranch
|
|
- qa-develop
|
|
- 0.9
|
|
tags:
|
|
- '*'
|
|
pull_request:
|
|
types: [ opened, synchronize ]
|
|
branches:
|
|
- develop
|
|
- 'release-**'
|
|
tags:
|
|
- '*'
|
|
|
|
jobs:
|
|
build_ios:
|
|
name: Building the IPA
|
|
runs-on: macos-13
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3.1.0
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: '18.x'
|
|
|
|
- name: Install npm dependencies
|
|
run: |
|
|
npm install
|
|
|
|
- name: Install Pod
|
|
run: |
|
|
cd ios
|
|
pod install
|
|
|
|
- name: Building the IPA
|
|
run: |
|
|
cd ios
|
|
fastlane build_app_for_automation_on_simulator
|
|
env:
|
|
APP_STORE_CONNECT_TEAM_ID: '${{ secrets.APP_STORE_CONNECT_TEAM_ID }}'
|
|
DEVELOPER_APP_ID: '${{ secrets.IOS_INJI_DEVELOPER_APP_ID }}'
|
|
INJI_IOS_DEVELOPER_APP_IDENTIFIER: '${{ secrets.INJI_IOS_DEVELOPER_APP_IDENTIFIER }}'
|
|
INJI_IOS_DEVELOPER_PORTAL_TEAM_ID: '${{ secrets.INJI_IOS_DEVELOPER_PORTAL_TEAM_ID }}'
|
|
INJI_IOS_FASTLANE_APPLE_ID: '${{ secrets.INJI_IOS_FASTLANE_APPLE_ID }}'
|
|
INJI_IOS_FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD: '${{ secrets.INJI_IOS_FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD }}'
|
|
GIT_AUTHORIZATION: '${{ secrets.GIT_AUTHORIZATION }}'
|
|
INJI_IOS_PROVISIONING_PROFILE_SPECIFIER: '${{ secrets.INJI_IOS_PROVISIONING_PROFILE_SPECIFIER }}'
|
|
INJI_IOS_TEMP_KEYCHAIN_PASSWORD: '${{ secrets.INJI_IOS_TEMP_KEYCHAIN_PASSWORD }}'
|
|
INJI_IOS_TEMP_KEYCHAIN_USER: '${{ secrets.INJI_IOS_TEMP_KEYCHAIN_USER }}'
|
|
APPLE_KEY_ID: '${{ secrets.APPLE_KEY_ID }}'
|
|
APPLE_ISSUER_ID: '${{ secrets.APPLE_ISSUER_ID }}'
|
|
APPLE_KEY_CONTENT: '${{ secrets.APPLE_KEY_CONTENT }}'
|
|
MATCH_PASSWORD: '${{ secrets.INJI_IOS_MATCH_PASSWORD }}'
|