Merge pull request #42 from nikhilbadyal/skip-github-upload

Skip GitHub upload
This commit is contained in:
Nikhil Badyal
2022-10-13 21:37:45 +05:30
committed by GitHub
+8 -1
View File
@@ -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
@@ -74,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