From 99a038fce11cb8d531ccc9ae73e1c14ac41d86ea Mon Sep 17 00:00:00 2001 From: Nikhil Badyal Date: Wed, 19 Oct 2022 23:46:42 +0530 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Added=20Rooted=20module=20upload?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-apk.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/build-apk.yml b/.github/workflows/build-apk.yml index f5b33e3..8b43639 100644 --- a/.github/workflows/build-apk.yml +++ b/.github/workflows/build-apk.yml @@ -95,6 +95,20 @@ jobs: STICKER_ID: ${{ secrets.STICKER_ID }} CHANGELOG_GITHUB_REPOSITORY: ${{ secrets.CHANGELOG_GITHUB_REPOSITORY }} + upload-to-telegram-root: + needs: [ build-apk ] + uses: nikhilbadyal/ghactions/.github/workflows/telegram-uploader.yml@main + if: ${{ inputs.TELEGRAM_UPLOAD }} && ${{ inputs.GITHUB_UPLOAD }} + secrets: + TELEGRAM_API_ID: ${{ secrets.TELEGRAM_API_ID }} + TELEGRAM_API_HASH: ${{ secrets.TELEGRAM_API_HASH }} + TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} + TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} + STICKER_ID: ${{ secrets.STICKER_ID }} + CHANGELOG_GITHUB_REPOSITORY: ${{ secrets.CHANGELOG_GITHUB_REPOSITORY }} + DOWNLOAD_GITHUB_REPOSITORY: ${{ secrets.DOWNLOAD_GITHUB_REPOSITORY }} + ASSETS_PATTERN: ${{ secrets.ASSETS_PATTERN }} + cleanup: name: GitHub Cleanup