|
@@ -56,12 +56,13 @@ jobs:
|
|
|
runs-on: ubuntu-latest
|
|
runs-on: ubuntu-latest
|
|
|
steps:
|
|
steps:
|
|
|
- name: Send Telegram Notification
|
|
- name: Send Telegram Notification
|
|
|
- if: inputs.release_type == 'Actions'
|
|
|
|
|
|
|
+ if: ${{ inputs.release_type == 'Actions' }}
|
|
|
run: |
|
|
run: |
|
|
|
curl -s -X POST "https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendDocument" \
|
|
curl -s -X POST "https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendDocument" \
|
|
|
-F chat_id="${{ secrets.TELEGRAM_CHAT_ID }}" \
|
|
-F chat_id="${{ secrets.TELEGRAM_CHAT_ID }}" \
|
|
|
-F message_thread_id="${{ secrets.TELEGRAM_MESSAGE_THREAD_ID }}" \
|
|
-F message_thread_id="${{ secrets.TELEGRAM_MESSAGE_THREAD_ID }}" \
|
|
|
- -F caption=" 🚀 Build started for ${{ github.repository }}!
|
|
|
|
|
|
|
+ -F caption="
|
|
|
|
|
+ 🚀 Build started for ${{ github.repository }}!
|
|
|
📦 *Repository:* [${{ github.repository }}](https://github.com/${{ github.repository }})
|
|
📦 *Repository:* [${{ github.repository }}](https://github.com/${{ github.repository }})
|
|
|
🗂️ *Branch:* ${{ github.ref_name }}
|
|
🗂️ *Branch:* ${{ github.ref_name }}
|
|
|
✏️ *Commit:* [${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }})
|
|
✏️ *Commit:* [${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }})
|
|
@@ -132,7 +133,7 @@ jobs:
|
|
|
kernelsu_branch_other: ${{ inputs.kernelsu_branch_other }}
|
|
kernelsu_branch_other: ${{ inputs.kernelsu_branch_other }}
|
|
|
|
|
|
|
|
release:
|
|
release:
|
|
|
- if: inputs.release_type == 'Release' || inputs.release_type == 'Pre-Release'
|
|
|
|
|
|
|
+ if: ${{ inputs.release_type == 'Release' || inputs.release_type == 'Pre-Release' }}
|
|
|
runs-on: ubuntu-latest
|
|
runs-on: ubuntu-latest
|
|
|
needs:
|
|
needs:
|
|
|
- build-kernels-a12
|
|
- build-kernels-a12
|
|
@@ -141,7 +142,7 @@ jobs:
|
|
|
- build-kernels-a15
|
|
- build-kernels-a15
|
|
|
env:
|
|
env:
|
|
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
- RELEASE_NAME: "GKI Kernels With KernelSU or KernelSU-Next & SUSFS v1.5.7"
|
|
|
|
|
|
|
+ RELEASE_NAME: "GKI Kernels With WildKSU & SUSFS v1.5.7"
|
|
|
RELEASE_BODY:
|
|
RELEASE_BODY:
|
|
|
steps:
|
|
steps:
|
|
|
- name: Checkout code
|
|
- name: Checkout code
|
|
@@ -295,7 +296,8 @@ jobs:
|
|
|
curl -s -X POST "https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendDocument" \
|
|
curl -s -X POST "https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendDocument" \
|
|
|
-F chat_id="${{ secrets.TELEGRAM_CHAT_ID }}" \
|
|
-F chat_id="${{ secrets.TELEGRAM_CHAT_ID }}" \
|
|
|
-F message_thread_id="${{ secrets.TELEGRAM_MESSAGE_THREAD_ID }}" \
|
|
-F message_thread_id="${{ secrets.TELEGRAM_MESSAGE_THREAD_ID }}" \
|
|
|
- -F caption=" 🌽👨🌾 *New Stable Kernel Release Uploaded*
|
|
|
|
|
|
|
+ -F caption="
|
|
|
|
|
+ 🌽 *New Stable Kernel Release Uploaded*
|
|
|
📦 *Repository:* [${{ github.repository }}](https://github.com/${{ github.repository }})
|
|
📦 *Repository:* [${{ github.repository }}](https://github.com/${{ github.repository }})
|
|
|
🗂️ *Branch:* ${{ github.ref_name }}
|
|
🗂️ *Branch:* ${{ github.ref_name }}
|
|
|
✏️ *Commit:* [${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }})
|
|
✏️ *Commit:* [${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }})
|