Files
super-app/.github/workflows/android_build.yml

36 lines
890 B
YAML

name: Android Build CI
on:
pull_request:
branches: [ master, release-* ]
types: [ opened, reopened, synchronize, ready_for_review, converted_to_draft ]
schedule:
- cron: "30 2 * * *"
merge_group:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build-qa-debug:
if: github.event.pull_request.draft == false
uses: ./.github/workflows/generate_build.yml
with:
environment: qa
type: debug
output: APK
secrets: inherit
generate-apk-diff:
if: github.event_name == 'pull_request' && github.base_ref == 'master'
uses: ./.github/workflows/generate_apk_diff.yml
needs: build-qa-debug
secrets: inherit
upload-apk-to-s3:
if: github.event_name == 'schedule'
uses: ./.github/workflows/upload_file.yml
needs: build-qa-debug
secrets: inherit