mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
Merge pull request #42 from nikhilbadyal/skip-github-upload
Skip GitHub upload
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user