From bef7a077539d457b0e882ec8fd95cbbcac784582 Mon Sep 17 00:00:00 2001 From: Nikhil Badyal Date: Mon, 18 Dec 2023 08:32:01 +0530 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Expect=20Apprise=20notify=20in=20wo?= =?UTF-8?q?rkflow=20run?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-apk.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-apk.yml b/.github/workflows/build-apk.yml index 1de9bf7..fb35b18 100644 --- a/.github/workflows/build-apk.yml +++ b/.github/workflows/build-apk.yml @@ -21,6 +21,11 @@ on: required: false type: boolean default: false + APPRISE_NOTIFY: + description: "Use Apprise to Notify" + required: false + type: boolean + default: false VIRUSTOTAL_SCAN: description: "Scan apks with VirusTotal" required: false @@ -132,6 +137,7 @@ jobs: name: Apprise Notifier runs-on: ubuntu-latest timeout-minutes: 15 + if: inputs.APPRISE_NOTIFY steps: - name: Download Already Built APKs @@ -155,7 +161,6 @@ jobs: - name: Upload to Telegram uses: nikhilbadyal/ghaction-apprise@main - if: ${{ steps.ff.outputs.has_apprise_url }} == 'true' with: APPRISE_URL: ${{ secrets.APPRISE_URL }} APPRISE_NOTIFICATION_BODY: ${{ secrets.APPRISE_NOTIFICATION_BODY }}