Promote Release to Play Store #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | |
inputs: | |
publish_to_play_store: | |
required: false | |
default: false | |
description: Publish to Play Store? | |
type: boolean | |
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: niyajali/mifos-mobile-github-actions/.github/workflows/promote-to-production.yaml@main | |
if: ${{ inputs.publish_to_play_store == true }} | |
secrets: inherit | |
with: | |
android_package_name: 'mifospay-android' |