mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-09 21:48:04 -05:00
52 lines
1.3 KiB
YAML
52 lines
1.3 KiB
YAML
name: Push-Triggers
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- develop
|
|
- qa-develop
|
|
- 'release-**'
|
|
release:
|
|
types: [published]
|
|
pull_request:
|
|
types: [opened, reopened, synchronize]
|
|
branches:
|
|
- master
|
|
- develop
|
|
- qa-develop
|
|
- 'release-**'
|
|
|
|
jobs:
|
|
build-android:
|
|
uses: mosip/kattu/.github/workflows/android-build.yml@master
|
|
with:
|
|
NODE_VERSION: "18.x"
|
|
JAVA_VERSION: "17"
|
|
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 }}'
|