From efe532c16d033ec5cd8b1079707a7ab01ef340ab Mon Sep 17 00:00:00 2001 From: Sk Niyaj Ali Date: Thu, 5 Dec 2024 04:34:21 +0530 Subject: [PATCH] chore - Testing Re-usable workflows --- .../multi_platform_build_and_publish.yaml | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/multi_platform_build_and_publish.yaml diff --git a/.github/workflows/multi_platform_build_and_publish.yaml b/.github/workflows/multi_platform_build_and_publish.yaml new file mode 100644 index 000000000..145edf03c --- /dev/null +++ b/.github/workflows/multi_platform_build_and_publish.yaml @@ -0,0 +1,40 @@ +name: Multi-Platform(Re-Usable) App Build and Publish + +on: + workflow_dispatch: + inputs: + release_type: + type: choice + options: + - internal # For internal testing purposes + - beta # For beta testing with external testers + default: internal + description: Release Type + + publish_android: + type: boolean + default: false + description: Publish Android App On Play Store + +permissions: + contents: write + +concurrency: + group: "pages" + cancel-in-progress: false + +jobs: + multi_platform_build_and_publish: + name: Build Android Application + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Build and Publish Android App + uses: niyajali/mifos-mobile-github-actions/.github/workflows/multi_platform_build_and_publish.yaml@main + secrets: inherit + with: + release_type: ${{ inputs.release_type }} + publish_android: ${{ inputs.publish_android }} + android_package_name: 'mifospay-android' \ No newline at end of file