cherrypicked 0040595996fa0a90f1a14b874c30d70d021ae0f9 (#1418) #61
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: Push-Triggers | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
- qa-develop | |
- 'release-**' | |
release: | |
types: [published] | |
pull_request: | |
types: [opened, reopened, synchronize] | |
branches: | |
- main | |
- develop | |
- qa-develop | |
- 'release-**' | |
jobs: | |
build-android: | |
uses: mosip/kattu/.github/workflows/android-build.yml@master | |
with: | |
NODE_VERSION: "16.x" | |
KEYSTORE_ALIAS: androidbuildkey | |
KEYSTORE_PASSWORD: 'password' | |
SERVICE_LOCATION: '.' | |
ANDROID_SERVICE_LOCATION: 'android' | |
BUILD_SCRIPT_LOCATION: 'scripts' | |
SCRIPT_NAME: './android-build.sh' | |
UPLOAD_TO_ACTIONS: 'false' | |
build-ios: | |
uses: mosip/kattu/.github/workflows/ios-build.yml@master | |
with: | |
NODE_VERSION: "18.x" | |
SERVICE_LOCATION: '.' | |
IOS_SERVICE_LOCATION: 'ios' | |
SCRIPT_NAME: "fastlane ios_app_build" | |
# sonar-check: | |
# if: ${{ github.event_name != 'pull_request' }} | |
# uses: mosip/kattu/.github/workflows/gradlew-sonar-analysis.yml@master | |
# with: | |
# SERVICE_LOCATION: '.' | |
# ANDROID_LOCATION: 'android' | |
# secrets: | |
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
# SONAR_ORGANIZATION: ${{ secrets.ORG_KEY }} | |
# SLACK_WEBHOOK_URL: '${{ secrets.SLACK_WEBHOOK_INJI_TEAM }}' |