From 64d89700d40b7a819f5cb7c14ab4b39aa9a56327 Mon Sep 17 00:00:00 2001 From: Nikhil Badyal Date: Sat, 26 Nov 2022 16:03:51 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Added=20Rooted=20Magisk=20Telegr?= =?UTF-8?q?am=20upload?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-apk.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-apk.yml b/.github/workflows/build-apk.yml index d32ab14..98c82eb 100644 --- a/.github/workflows/build-apk.yml +++ b/.github/workflows/build-apk.yml @@ -11,8 +11,13 @@ on: required: false type: boolean default: true - TELEGRAM_UPLOAD: - description: "Upload to Telegram" + TELEGRAM_NO_ROOT_UPLOAD: + description: "Upload Non Rooted APKs to Telegram" + required: false + type: boolean + default: false + TELEGRAM_ROOT_UPLOAD: + description: "Upload Mgaisk Module from nikhilbadyal/revanced-magisk-module to Telegram" required: false type: boolean default: false @@ -94,7 +99,7 @@ jobs: upload-to-telegram: needs: [ upload-to-github ] uses: nikhilbadyal/ghactions/.github/workflows/telegram-uploader.yml@main - if: inputs.TELEGRAM_UPLOAD + if: inputs.TELEGRAM_NO_ROOT_UPLOAD secrets: TELEGRAM_API_ID: ${{ secrets.TELEGRAM_API_ID }} TELEGRAM_API_HASH: ${{ secrets.TELEGRAM_API_HASH }} @@ -108,7 +113,7 @@ jobs: upload-to-telegram-root: needs: [ upload-to-telegram ] uses: nikhilbadyal/ghactions/.github/workflows/telegram-uploader.yml@main - if: github.repository == 'nikhilbadyal/docker-py-revanced' + if: inputs.TELEGRAM_ROOT_UPLOAD secrets: TELEGRAM_API_ID: ${{ secrets.TELEGRAM_API_ID }} TELEGRAM_API_HASH: ${{ secrets.TELEGRAM_API_HASH }}