From 2549dfb3a0a24fbe22e0060c2e54897d2d38b7b1 Mon Sep 17 00:00:00 2001 From: Nikhil Badyal Date: Thu, 13 Oct 2022 21:27:48 +0530 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=91=B7=20Skip=20Github=20upload?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-apk.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build-apk.yml b/.github/workflows/build-apk.yml index 6e18d81..3e808bd 100644 --- a/.github/workflows/build-apk.yml +++ b/.github/workflows/build-apk.yml @@ -5,6 +5,12 @@ env: HAVE_TELEGRAM_API_ID: ${{ secrets.TELEGRAM_API_ID != '' }} on: workflow_dispatch: + inputs: + SKIP_GITHUB_UPLOAD: + description: 'Should upload to GitHub' + required: false + type: boolean + default: true concurrency: group: ${{ github.head_ref || github.run_id }} @@ -41,6 +47,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 5 needs: build-apk + if: ${{ inputs.SKIP_GITHUB_UPLOAD }} steps: - name: Download Already Built APKs From 38aca6104d3fbe07f6649b624382efc9d5429cc9 Mon Sep 17 00:00:00 2001 From: Nikhil Badyal Date: Thu, 13 Oct 2022 21:34:31 +0530 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=91=B7=20Don't=20need=20to=20wait=20f?= =?UTF-8?q?or=20GitHub=20upload?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-apk.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-apk.yml b/.github/workflows/build-apk.yml index 3e808bd..64d52f5 100644 --- a/.github/workflows/build-apk.yml +++ b/.github/workflows/build-apk.yml @@ -81,7 +81,7 @@ jobs: name: Telegram Upload runs-on: ubuntu-latest timeout-minutes: 5 - needs: [ build-apk,upload-to-github ] + needs: [ build-apk ] steps: - name: Upload to Telegram