mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
👷 Simplified workflow run checks
This commit is contained in:
@@ -84,9 +84,9 @@ jobs:
|
|||||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||||
|
|
||||||
upload-to-telegram:
|
upload-to-telegram:
|
||||||
needs: [ build-apk ]
|
needs: [ upload-to-github ]
|
||||||
uses: nikhilbadyal/ghactions/.github/workflows/telegram-uploader.yml@main
|
uses: nikhilbadyal/ghactions/.github/workflows/telegram-uploader.yml@main
|
||||||
if: ${{ inputs.TELEGRAM_UPLOAD }} && ${{ inputs.GITHUB_UPLOAD }}
|
if: ${{ inputs.TELEGRAM_UPLOAD }}
|
||||||
secrets:
|
secrets:
|
||||||
TELEGRAM_API_ID: ${{ secrets.TELEGRAM_API_ID }}
|
TELEGRAM_API_ID: ${{ secrets.TELEGRAM_API_ID }}
|
||||||
TELEGRAM_API_HASH: ${{ secrets.TELEGRAM_API_HASH }}
|
TELEGRAM_API_HASH: ${{ secrets.TELEGRAM_API_HASH }}
|
||||||
@@ -97,9 +97,9 @@ jobs:
|
|||||||
SEND_STICKER: ${{ secrets.SEND_STICKER }}
|
SEND_STICKER: ${{ secrets.SEND_STICKER }}
|
||||||
|
|
||||||
upload-to-telegram-root:
|
upload-to-telegram-root:
|
||||||
needs: [ build-apk , upload-to-telegram ]
|
needs: [ upload-to-telegram ]
|
||||||
uses: nikhilbadyal/ghactions/.github/workflows/telegram-uploader.yml@main
|
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:
|
secrets:
|
||||||
TELEGRAM_API_ID: ${{ secrets.TELEGRAM_API_ID }}
|
TELEGRAM_API_ID: ${{ secrets.TELEGRAM_API_ID }}
|
||||||
TELEGRAM_API_HASH: ${{ secrets.TELEGRAM_API_HASH }}
|
TELEGRAM_API_HASH: ${{ secrets.TELEGRAM_API_HASH }}
|
||||||
|
|||||||
Reference in New Issue
Block a user