NTP-1234 | Refactor | yarn for GoCD + MSAS Failure Handling + Action Triggers (#14222)

This commit is contained in:
Shivam Goyal
2024-12-18 01:35:51 +05:30
committed by GitHub
parent 0b5bbcb6d5
commit 5246d65d07
4 changed files with 11 additions and 18 deletions

View File

@@ -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

View File

@@ -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:

View File

@@ -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: