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
|
||||
|
||||
2
.github/workflows/android_checkstyle.yml
vendored
2
.github/workflows/android_checkstyle.yml
vendored
@@ -3,6 +3,7 @@ name: Android Checkstyle CI
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
types: [ opened, reopened, synchronize, ready_for_review, converted_to_draft ]
|
||||
merge_group:
|
||||
|
||||
concurrency:
|
||||
@@ -11,6 +12,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
spotless:
|
||||
if: github.event.pull_request.draft == false
|
||||
runs-on: [ android ]
|
||||
defaults:
|
||||
run:
|
||||
|
||||
4
.github/workflows/upload_file.yml
vendored
4
.github/workflows/upload_file.yml
vendored
@@ -19,10 +19,6 @@ jobs:
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: app-qa-debug
|
||||
- name: Print Download Path
|
||||
run: echo ${{steps.download.outputs.download-path}}
|
||||
- name: List Files
|
||||
run: ls -R ${{steps.download.outputs.download-path}}
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user