From 86d7eeff9c3d7dfcc241348281c00f40ae93b03e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?N/P=E7=A1=85?= Date: Sat, 2 Oct 2021 15:59:31 +0800 Subject: [PATCH] update: Change build logic --- .github/workflows/android.yml | 8 +++++++- .github/workflows/apk.yml | 3 --- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 3071e5d..93cd1b5 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -1,6 +1,12 @@ name: Android CI -on: [push] +on: + pull_request: + branches: + - 'master' + push: + branches: + - 'master' jobs: build: diff --git a/.github/workflows/apk.yml b/.github/workflows/apk.yml index 7059365..069763f 100644 --- a/.github/workflows/apk.yml +++ b/.github/workflows/apk.yml @@ -1,9 +1,6 @@ name: Android Pull Request & Master CI on: - pull_request: - branches: - - 'master' push: branches: - 'master'