NTP-1234 | Refactor | yarn for GoCD + MSAS Failure Handling + Action Triggers (#14222)
This commit is contained in:
17
.github/workflows/android_build.yml
vendored
17
.github/workflows/android_build.yml
vendored
@@ -1,10 +1,11 @@
|
||||
name: Android Build CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master, release-* ]
|
||||
pull_request:
|
||||
branches: [ master, release-* ]
|
||||
types: [ opened, reopened, synchronize, ready_for_review, converted_to_draft ]
|
||||
schedule:
|
||||
- cron: "30 2 * * *"
|
||||
merge_group:
|
||||
|
||||
concurrency:
|
||||
@@ -13,6 +14,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
build-qa-debug:
|
||||
if: github.event.pull_request.draft == false
|
||||
uses: ./.github/workflows/generate_build.yml
|
||||
with:
|
||||
environment: qa
|
||||
@@ -20,15 +22,6 @@ jobs:
|
||||
output: APK
|
||||
secrets: inherit
|
||||
|
||||
build-qa-release:
|
||||
if: github.event_name == 'push' && startsWith(github.ref_name, 'release-')
|
||||
uses: ./.github/workflows/generate_build.yml
|
||||
with:
|
||||
environment: qa
|
||||
type: release
|
||||
output: APK
|
||||
secrets: inherit
|
||||
|
||||
generate-apk-diff:
|
||||
if: github.event_name == 'pull_request' && github.base_ref == 'master'
|
||||
uses: ./.github/workflows/generate_apk_diff.yml
|
||||
@@ -36,7 +29,7 @@ jobs:
|
||||
secrets: inherit
|
||||
|
||||
upload-apk-to-s3:
|
||||
if: github.event_name == 'push' && github.ref_name == 'master'
|
||||
if: github.event_name == 'schedule'
|
||||
uses: ./.github/workflows/upload_file.yml
|
||||
needs: build-qa-debug
|
||||
secrets: inherit
|
||||
|
||||
Reference in New Issue
Block a user