mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-09 21:48:04 -05:00
* chore(INJI-195): upgrade react native version and dependencies * chore(INJI-195): upgrade expo version and dependencies * chore(INJI-195): modify associated files on version upgrade * chore(INJI-295): fixed react native flipper and patch packages * chore(INJI-195): fix for expo prebuild * chore(INJI-195): expo linked to android/ios projects * chore(INJI-195): update metro config * chore(INJI-195): fix ios build with mmkv storage patch * chore(INJI-195): gradle version modified * chore(INJI-195): fixed rn version 0.71.8 due to mmkv library issue * chore(INJI-195): removed files in android * chore(INJI-195): fix 0.71.8 for iOS project through pods with expo linking * chore(INJI-195): fix for custom fonts added through pods due to rn linkage * chore(INJI-195): fix for removing assets.car generated from pods * Modify Node version in pipeline (#806) * chore(INJI-195): fix for android splash screen not shown up * chore(INJI-195): upgraded to node 18 in pipeline * chore(INJI-195): add the pod install twice to remove duplicates via script workaround (#807) Signed-off-by: dhivya0413 <120356578+dhivya0413@users.noreply.github.com> * INJI-195 Set the signing team for iOS (#810) * chore(INJI-195): add the pod install twice to remove duplicates via script workaround * chore(INJI-195): set the signing team for ios build --------- Signed-off-by: dhivya0413 <120356578+dhivya0413@users.noreply.github.com> * Modify github runner to self hosted runner (#811) * chore(INJI-195): add the pod install twice to remove duplicates via script workaround * chore(INJI-195): set the signing team for ios build * chore(INJI-195): set the self hosted runner for ios build --------- Signed-off-by: dhivya0413 <120356578+dhivya0413@users.noreply.github.com> * Modify self hosted runner to github hosted runner (#813) * chore(INJI-195): add the pod install twice to remove duplicates via script workaround * chore(INJI-195): set the signing team for ios build * chore(INJI-195): set the self hosted runner for ios build * chore(INJI-195): modify the self hosted to github hosted runner --------- Signed-off-by: dhivya0413 <120356578+dhivya0413@users.noreply.github.com> * chore(INJI-195): modify the self hosted to github hosted runner * chore(INJI-195): set the code signing identity for ios build * chore(INJI-195): assigned app icon files to asset --------- Signed-off-by: dhivya0413 <120356578+dhivya0413@users.noreply.github.com> Signed-off-by: Swati Goel <meet2swati@gmail.com> Co-authored-by: Swati Goel <meet2swati@gmail.com>
101 lines
3.3 KiB
YAML
101 lines
3.3 KiB
YAML
name: Inji iOS build
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
mimotoBackendServiceUrl:
|
|
description: 'Mimoto backend service URL'
|
|
required: true
|
|
default: 'https://api.sandbox.mosip.net'
|
|
type: string
|
|
esignetBackendServiceUrl:
|
|
description: 'Esignet backend service URL'
|
|
required: true
|
|
default: 'https://api.sandbox.mosip.net'
|
|
type: string
|
|
theme:
|
|
description: 'Application Theme'
|
|
required: true
|
|
default: 'orange'
|
|
type: choice
|
|
options:
|
|
- orange
|
|
- purple
|
|
registry_edit:
|
|
description: 'Edit Registry'
|
|
required: true
|
|
default: 'true'
|
|
type: choice
|
|
options:
|
|
- false
|
|
- true
|
|
internal-testers:
|
|
description: 'Internal Testers Group'
|
|
required: true
|
|
default: 'QA-Triple'
|
|
type: choice
|
|
options:
|
|
- Dev-testing
|
|
- MEC
|
|
- QA
|
|
- MOSIP-Collab
|
|
- MOSIP-Dev-testing
|
|
buildDescription:
|
|
description: 'What to test'
|
|
required: true
|
|
default: 'QA-Triple environment build'
|
|
type: string
|
|
|
|
jobs:
|
|
build_ios:
|
|
name: Deploying to Testflight
|
|
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
|
|
pod install
|
|
|
|
- name: Deploy iOS Beta to TestFlight
|
|
run: |
|
|
cd ios
|
|
fastlane beta
|
|
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 }}'
|
|
SLACK_URL: '${{ secrets.SLACK_WEBHOOK_DEVOPS }}'
|
|
MATCH_PASSWORD: '${{ secrets.INJI_IOS_MATCH_PASSWORD }}'
|
|
APPLICATION_THEME: ${{ github.event.inputs.theme }}
|
|
TESTFLIGHT_INTERNAL_TESTERS_GROUP: ${{ github.event.inputs.internal-testers }}
|
|
TESTFLIGHT_BETA_APP_DESCRIPTION: ${{ github.event.inputs.buildDescription }}
|
|
|
|
- name: Upload Runner Log on Failure
|
|
if: failure() # Only run this step if the previous steps failed
|
|
uses: actions/upload-artifact@v3.1.1
|
|
with:
|
|
name: runner-log
|
|
path: /Users/runner/Library/Logs/gym/
|
|
retention-days: 1
|