From c50a7e0e58c0d1168e7f023f46e37812ccc48d48 Mon Sep 17 00:00:00 2001 From: Nikhil Badyal Date: Sat, 22 Oct 2022 00:16:13 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Simplified=20workflow=20run=20ch?= =?UTF-8?q?ecks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-apk.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-apk.yml b/.github/workflows/build-apk.yml index 6c4c8cf..af258c1 100644 --- a/.github/workflows/build-apk.yml +++ b/.github/workflows/build-apk.yml @@ -84,9 +84,9 @@ jobs: GH_TOKEN: ${{ secrets.GH_TOKEN }} upload-to-telegram: - needs: [ build-apk ] + needs: [ upload-to-github ] uses: nikhilbadyal/ghactions/.github/workflows/telegram-uploader.yml@main - if: ${{ inputs.TELEGRAM_UPLOAD }} && ${{ inputs.GITHUB_UPLOAD }} + if: ${{ inputs.TELEGRAM_UPLOAD }} secrets: TELEGRAM_API_ID: ${{ secrets.TELEGRAM_API_ID }} TELEGRAM_API_HASH: ${{ secrets.TELEGRAM_API_HASH }} @@ -97,9 +97,9 @@ jobs: SEND_STICKER: ${{ secrets.SEND_STICKER }} upload-to-telegram-root: - needs: [ build-apk , upload-to-telegram ] + needs: [ upload-to-telegram ] uses: nikhilbadyal/ghactions/.github/workflows/telegram-uploader.yml@main - if: ${{ inputs.TELEGRAM_UPLOAD }} && ${{ inputs.GITHUB_UPLOAD }} && github.repository == 'nikhilbadyal/docker-py-revanced' + if: github.repository == 'nikhilbadyal/docker-py-revanced' secrets: TELEGRAM_API_ID: ${{ secrets.TELEGRAM_API_ID }} TELEGRAM_API_HASH: ${{ secrets.TELEGRAM_API_HASH }}