-
Notifications
You must be signed in to change notification settings - Fork 449
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1836 from niyajali/configure-actions
Refactor: Migrate CI to Use GitHub Actions
- Loading branch information
Showing
6 changed files
with
73 additions
and
90 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,9 +54,6 @@ | |
# - Manual workflow dispatch | ||
# - Callable from other workflows | ||
|
||
|
||
# https://github.com/openMF/mifos-mobile-github-actions/blob/main/.github/workflows/tag-weekly-release.yaml | ||
|
||
# ############################################################################## | ||
# DON'T EDIT THIS FILE UNLESS NECESSARY # | ||
# ############################################################################## | ||
|
@@ -79,7 +76,40 @@ concurrency: | |
jobs: | ||
tag: | ||
name: Tag Weekly Release | ||
uses: openMF/mifos-mobile-github-actions/.github/workflows/tag-weekly-release.yaml@main | ||
secrets: inherit | ||
with: | ||
target_branch: 'dev' | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Checkout the repository with full history for proper versioning | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
# Setup Java environment for Gradle operations | ||
- name: Set up JDK 17 | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
|
||
# Create and push a new version tag using Reckon | ||
# This uses the 'final' stage for production-ready releases | ||
- name: Tag Weekly Release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: ./gradlew :reckonTagPush -Preckon.stage=final | ||
|
||
# Trigger the build and publish workflow for beta release | ||
# This starts the process of building and deploying the app to various platforms | ||
- name: Trigger Workflow | ||
uses: actions/github-script@v7 | ||
with: | ||
script: | | ||
github.rest.actions.createWorkflowDispatch({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
workflow_id: 'multi-platform-build-and-publish.yml', | ||
ref: 'dev', | ||
inputs: { | ||
"release_type": "beta", | ||
}, | ||
}) | ||
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
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