Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion .github/workflows/multi-platform-build-and-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,11 @@ on:
type: string
default: '.github/ci-gradle.properties'

compose_resources_dir:
description: 'Path to Compose resources directory'
type: string
default: 'cmp-shared/build/compose/cocoapods/compose-resources'

secrets:
# Android-related secrets
original_keystore_file:
Expand Down Expand Up @@ -372,6 +377,9 @@ jobs:
if: ${{ inputs.use_cocoapods }}
run: sudo gem install cocoapods

- name: Prepare compose resources directory
run: mkdir -p ${{ inputs.compose_resources_dir }}

- name: Generate dummy framework for KMP
if: ${{ inputs.use_cocoapods }}
run: ./gradlew ${{ inputs.shared_module }}:generateDummyFramework
Expand All @@ -397,7 +405,7 @@ jobs:

# Testflight Publishing Job
publish_ios_app_to_testflight:
name: Publish iOS App On App Center
name: Publish iOS App On TestFlight
if: inputs.distribute_ios_testflight
runs-on: macos-latest
steps:
Expand All @@ -416,6 +424,9 @@ jobs:
if: ${{ inputs.use_cocoapods }}
run: sudo gem install cocoapods

- name: Prepare compose resources directory
run: mkdir -p ${{ inputs.compose_resources_dir }}

- name: Generate dummy framework for KMP
if: ${{ inputs.use_cocoapods }}
run: ./gradlew ${{ inputs.shared_module }}:generateDummyFramework
Expand Down Expand Up @@ -455,6 +466,9 @@ jobs:
if: ${{ inputs.use_cocoapods }}
run: sudo gem install cocoapods

- name: Prepare compose resources directory
run: mkdir -p ${{ inputs.compose_resources_dir }}

- name: Generate dummy framework for KMP
if: ${{ inputs.use_cocoapods }}
run: ./gradlew ${{ inputs.shared_module }}:generateDummyFramework
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/pr-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,11 @@ on:
type: string
required: true

compose_resources_dir:
description: 'Path to Compose resources directory'
type: string
default: 'cmp-shared/build/compose/cocoapods/compose-resources'

# Concurrency settings to prevent multiple simultaneous workflow runs
concurrency:
group: build-${{ github.ref }}
Expand Down Expand Up @@ -215,6 +220,9 @@ jobs:
if: ${{ inputs.use_cocoapods }}
run: sudo gem install cocoapods

- name: Prepare compose resources directory
run: mkdir -p ${{ inputs.compose_resources_dir }}

- name: Generate dummy framework for KMP
if: ${{ inputs.use_cocoapods }}
run: ./gradlew ${{ inputs.shared_module }}:generateDummyFramework
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -873,14 +873,14 @@ concurrency:
jobs:
multi_platform_build_and_publish:
name: Multi-Platform Build and Publish
uses: openMF/mifos-x-actionhub/.github/workflows/[email protected].4
uses: openMF/mifos-x-actionhub/.github/workflows/[email protected].5
with:
release_type: ${{ inputs.release_type }}
target_branch: ${{ inputs.target_branch }}
android_package_name: 'mifospay-android' # <-- Change this to your android package name
ios_package_name: 'mifospay-ios' # <-- Change this to your ios package name
desktop_package_name: 'mifospay-desktop' # <-- Change this to your desktop package name
web_package_name: 'mifospay-web' # <-- Change this to your web package name
android_package_name: 'cmp-android' # <-- Change this to your android package name
ios_package_name: 'cmp-ios' # <-- Change this to your ios package name
desktop_package_name: 'cmp-desktop' # <-- Change this to your desktop package name
web_package_name: 'cmp-web' # <-- Change this to your web package name
app_identifier: 'org.mifos.kmp.template'
git_url: '[email protected]:openMF/ios-provisioning-profile.git'
git_branch: 'master'
Expand Down