mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
👷 Switched jobs order
This commit is contained in:
@@ -81,7 +81,7 @@ jobs:
|
||||
sleep 10
|
||||
|
||||
virustotal-scan:
|
||||
needs: [upload-to-github]
|
||||
needs: [ upload-to-github ]
|
||||
uses: nikhilbadyal/ghactions/.github/workflows/virustotal-scan.yml@main
|
||||
with:
|
||||
FILES: |
|
||||
@@ -92,22 +92,8 @@ jobs:
|
||||
VT_API_KEY: ${{ secrets.VT_API_KEY }}
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
upload-to-telegram:
|
||||
needs: [upload-to-github]
|
||||
uses: nikhilbadyal/ghactions/.github/workflows/telegram-uploader.yml@main
|
||||
if: inputs.TELEGRAM_UPLOAD
|
||||
secrets:
|
||||
TELEGRAM_API_ID: ${{ secrets.TELEGRAM_API_ID }}
|
||||
TELEGRAM_API_HASH: ${{ secrets.TELEGRAM_API_HASH }}
|
||||
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
||||
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
|
||||
STICKER_ID: ${{ secrets.STICKER_ID }}
|
||||
CHANGELOG_GITHUB_REPOSITORY: ${{ secrets.CHANGELOG_GITHUB_REPOSITORY }}
|
||||
SEND_STICKER: ${{ secrets.SEND_STICKER }}
|
||||
MESSAGE: ${{ secrets.MESSAGE_NON_ROOT }}
|
||||
|
||||
upload-to-telegram-root:
|
||||
needs: [upload-to-telegram]
|
||||
needs: [ upload-to-github ]
|
||||
uses: nikhilbadyal/ghactions/.github/workflows/telegram-uploader.yml@main
|
||||
if: github.repository == 'nikhilbadyal/docker-py-revanced'
|
||||
secrets:
|
||||
@@ -122,10 +108,24 @@ jobs:
|
||||
SEND_MESSAGE: ${{ secrets.SEND_MESSAGE }}
|
||||
MESSAGE: ${{ secrets.MESSAGE_ROOT }}
|
||||
|
||||
upload-to-telegram:
|
||||
needs: [ upload-to-telegram-root ]
|
||||
uses: nikhilbadyal/ghactions/.github/workflows/telegram-uploader.yml@main
|
||||
if: inputs.TELEGRAM_UPLOAD
|
||||
secrets:
|
||||
TELEGRAM_API_ID: ${{ secrets.TELEGRAM_API_ID }}
|
||||
TELEGRAM_API_HASH: ${{ secrets.TELEGRAM_API_HASH }}
|
||||
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
||||
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
|
||||
STICKER_ID: ${{ secrets.STICKER_ID }}
|
||||
CHANGELOG_GITHUB_REPOSITORY: ${{ secrets.CHANGELOG_GITHUB_REPOSITORY }}
|
||||
SEND_STICKER: ${{ secrets.SEND_STICKER }}
|
||||
MESSAGE: ${{ secrets.MESSAGE_NON_ROOT }}
|
||||
|
||||
cleanup:
|
||||
name: GitHub Cleanup
|
||||
if: inputs.CLEANUP
|
||||
needs: [upload-to-telegram]
|
||||
needs: [ upload-to-telegram ]
|
||||
uses: ./.github/workflows/github-cleanup.yml
|
||||
secrets:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user