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
2 changes: 1 addition & 1 deletion .github/workflows/android-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
with:
release_type: ${{ inputs.release_type }}
target_branch: ${{ inputs.target_branch }}
android_package_name: 'androidApp' # <-- Change this to your android package name
android_package_name: 'cmp-android' # <-- Change this to your android package name
tester_groups: 'mifos-mobile-apps' # <-- Change this to your Firebase tester group
secrets:
original_keystore_file: ${{ secrets.ORIGINAL_KEYSTORE_FILE }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-check-kmp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ name: PR Checks for KMP
# Trigger conditions for the workflow
on:
push:
branches: [ kmp-impl ] # Runs on pushes to dev branch
branches: [ development ] # Runs on pushes to dev branch
pull_request:
branches: [ kmp-impl ] # Runs on pushes to dev branch
branches: [ development ] # Runs on pushes to dev branch

# Concurrency settings to prevent multiple simultaneous workflow runs
concurrency:
Expand Down
75 changes: 75 additions & 0 deletions .github/workflows/promote-to-production.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# GitHub Actions Workflow for Play Store Release Promotion
#
# PURPOSE:
# This workflow automates the process of promoting a beta release
# to the production track on Google Play Store.
#
# PREREQUISITES:
# 1. Fastlane setup with Android deployment configurations
# 2. Configured Fastlane lanes:
# - `promote_to_production`: Handles beta to production promotion
#
# REQUIRED CONFIGURATION:
# - Secrets:
# PLAYSTORECREDS: Google Play Store service account JSON credentials
#
# INPUTS:
# - android_package_name: Name of the Android project module
# (REQUIRED, must match your project's module structure)
#
# WORKFLOW TRIGGERS:
# - Can be called manually or triggered by other workflows
# - Typically used after beta testing and validation
#
# DEPLOYMENT PROCESS:
# 1. Checks out repository code
# 2. Sets up Ruby and Fastlane environment
# 3. Inflates Play Store credentials
# 4. Runs Fastlane lane to promote beta to production
#
# IMPORTANT NOTES:
# - Requires proper Fastlane configuration in your project
# - Ensures consistent and automated Play Store deployments
# - Configurable retry mechanism for upload stability
#
# RECOMMENDED FASTLANE LANE IMPLEMENTATION:
# ```ruby
# lane :promote_to_production do
# upload_to_play_store(
# track: 'beta',
# track_promote_to: 'production',
# json_key: './playStorePublishServiceCredentialsFile.json'
# )
# end
# ```

# https://github.com/openMF/mifos-mobile-github-actions/blob/main/.github/workflows/promote-to-production.yaml

# ##############################################################################
# DON'T EDIT THIS FILE UNLESS NECESSARY #
# ##############################################################################

name: Promote Release to Play Store

# Workflow triggers:
# 1. Manual trigger with option to publish to Play Store
# 2. Automatic trigger when a GitHub release is published
on:
workflow_dispatch:
release:
types: [ released ]

concurrency:
group: "production-deploy"
cancel-in-progress: false

permissions:
contents: write

jobs:
# Job to promote app from beta to production in Play Store
play_promote_production:
name: Promote Beta to Production Play Store
uses: openMF/mifos-x-actionhub/.github/.github/workflows/promote-to-production.yaml@main
secrets:
playstore_creds: ${{ secrets.PLAYSTORECREDS }}
39 changes: 39 additions & 0 deletions .github/workflows/tag-weekly-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Tag Weekly Release

on:
workflow_dispatch:
schedule:
- cron: '0 4 * * 0'
jobs:
tag:
name: Tag Weekly Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up JDK 17
uses: actions/[email protected]
with:
distribution: 'temurin'
java-version: '17'

- name: Tag Weekly Release
env:
GITHUB_TOKEN: ${{ secrets.TAG_PUSH_TOKEN }}
run: ./gradlew :reckonTagPush -Preckon.stage=final

- name: Trigger Workflow
uses: actions/github-script@v7
with:
script: |
github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: 'android-release.yml',
ref: 'development',
inputs: {
"release_type": "beta",
},
})
3 changes: 1 addition & 2 deletions .github/workflows/upload-demo-app-on-firebase-kmp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
pull_request:
types: [ labeled ]
branches:
- 'kmp-impl'
- 'development'

concurrency:
group: firebase-${{ github.ref }}
Expand All @@ -26,7 +26,6 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
ref: kmp-impl
fetch-depth: 0

- name: ☁️ Deploy Android App on Firebase
Expand Down
Binary file removed androidApp/src/demo/ic_launcher-playstore.png
Binary file not shown.
14 changes: 0 additions & 14 deletions androidApp/src/demo/res/mipmap-anydpi-v26/ic_launcher.xml

This file was deleted.

14 changes: 0 additions & 14 deletions androidApp/src/demo/res/mipmap-anydpi-v26/ic_launcher_round.xml

This file was deleted.

Binary file removed androidApp/src/demo/res/mipmap-hdpi/ic_launcher.webp
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed androidApp/src/demo/res/mipmap-mdpi/ic_launcher.webp
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
13 changes: 0 additions & 13 deletions androidApp/src/demo/res/values/ic_launcher_background.xml

This file was deleted.

Loading