mirror of
https://github.com/Nezumi-2711/revanced-apk-build.git
synced 2026-09-22 20:02:00 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
be1c20bb87 | ||
|
|
88a00ca413 | ||
|
|
788b36f083 | ||
|
|
ae43197aa0 | ||
|
|
c2fe93675e | ||
|
|
aee01f1ca5 | ||
|
|
679631315e |
@@ -147,9 +147,9 @@ jobs:
|
|||||||
curl -X POST --data-urlencode "parse_mode=Markdown" --data-urlencode "disable_web_page_preview=true" --data-urlencode "text=${MSG}" --data-urlencode "chat_id=${TG_CHAT}" "$POST"
|
curl -X POST --data-urlencode "parse_mode=Markdown" --data-urlencode "disable_web_page_preview=true" --data-urlencode "text=${MSG}" --data-urlencode "chat_id=${TG_CHAT}" "$POST"
|
||||||
|
|
||||||
- name: Report to Discord
|
- name: Report to Discord
|
||||||
if: env.TG_TOKEN != null
|
|
||||||
env:
|
env:
|
||||||
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
|
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
|
||||||
|
if: env.DISCORD_WEBHOOK_URL != null
|
||||||
run: |
|
run: |
|
||||||
cd build || { echo "build folder not found"; exit 1; }
|
cd build || { echo "build folder not found"; exit 1; }
|
||||||
|
|
||||||
@@ -174,9 +174,14 @@ jobs:
|
|||||||
${BODY}
|
${BODY}
|
||||||
|
|
||||||
**Download Links:**
|
**Download Links:**
|
||||||
|
"
|
||||||
|
|
||||||
|
MODULES_MSG="
|
||||||
**Modules:**
|
**Modules:**
|
||||||
${MODULES}
|
${MODULES}
|
||||||
|
"
|
||||||
|
|
||||||
|
APKS_MSG="
|
||||||
**APKs:**
|
**APKs:**
|
||||||
${APKS}
|
${APKS}
|
||||||
"
|
"
|
||||||
@@ -184,3 +189,11 @@ jobs:
|
|||||||
curl -X POST -H "Content-Type: application/json" \
|
curl -X POST -H "Content-Type: application/json" \
|
||||||
-d "$(jq -n --arg content "$MSG" '{content: $content}')" \
|
-d "$(jq -n --arg content "$MSG" '{content: $content}')" \
|
||||||
"$DISCORD_WEBHOOK_URL"
|
"$DISCORD_WEBHOOK_URL"
|
||||||
|
|
||||||
|
curl -X POST -H "Content-Type: application/json" \
|
||||||
|
-d "$(jq -n --arg content "$MODULES_MSG" '{content: $content}')" \
|
||||||
|
"$DISCORD_WEBHOOK_URL"
|
||||||
|
|
||||||
|
curl -X POST -H "Content-Type: application/json" \
|
||||||
|
-d "$(jq -n --arg content "$APKS_MSG" '{content: $content}')" \
|
||||||
|
"$DISCORD_WEBHOOK_URL"
|
||||||
|
|||||||
@@ -46,5 +46,5 @@ jobs:
|
|||||||
permissions: write-all
|
permissions: write-all
|
||||||
needs: check
|
needs: check
|
||||||
uses: ./.github/workflows/build.yml
|
uses: ./.github/workflows/build.yml
|
||||||
if: ${{ needs.check.outputs.SHOULD_BUILD == 1 }}
|
if: ${{ needs.check.outputs.SHOULD_BUILD == 0 }}
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|||||||
Reference in New Issue
Block a user