|
|
@@ -136,22 +136,22 @@ jobs:
|
|
|
done
|
|
|
fi
|
|
|
|
|
|
- - name: Send Telegram Notification
|
|
|
- if: inputs.release_type != 'Actions'
|
|
|
- run: |
|
|
|
- RELEASE_TYPE_TEXT=""
|
|
|
- if [ "${{ inputs.release_type }}" == "Pre-Release" ]; then
|
|
|
- RELEASE_TYPE_TEXT="🧪 *Pre-Release*"
|
|
|
- else
|
|
|
- RELEASE_TYPE_TEXT="🚀 *Release*"
|
|
|
- fi
|
|
|
-
|
|
|
- curl -X POST "https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendMessage" \
|
|
|
- -F chat_id="${{ secrets.TELEGRAM_CHAT_ID }}" \
|
|
|
- -F message_thread_id="${{ secrets.TELEGRAM_TOPIC_ID_GKI }}" \
|
|
|
- -F text="
|
|
|
- 🌽 *New Kernel $RELEASE_TYPE_TEXT Uploaded*
|
|
|
- 📦 *Repository:* [${{ github.repository }}](https://github.com/${{ github.repository }})
|
|
|
- ✏️ *Commit:* [${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }})
|
|
|
- [🔗 View GitHub Release](https://github.com/${{ github.repository }}/releases/tag/${{ env.NEW_TAG }})" \
|
|
|
- -F parse_mode="Markdown"
|
|
|
+# - name: Send Telegram Notification
|
|
|
+# if: inputs.release_type != 'Actions'
|
|
|
+# run: |
|
|
|
+# RELEASE_TYPE_TEXT=""
|
|
|
+# if [ "${{ inputs.release_type }}" == "Pre-Release" ]; then
|
|
|
+# RELEASE_TYPE_TEXT="🧪 *Pre-Release*"
|
|
|
+# else
|
|
|
+# RELEASE_TYPE_TEXT="🚀 *Release*"
|
|
|
+# fi
|
|
|
+#
|
|
|
+# curl -X POST "https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendMessage" \
|
|
|
+# -F chat_id="${{ secrets.TELEGRAM_CHAT_ID }}" \
|
|
|
+# -F message_thread_id="${{ secrets.TELEGRAM_TOPIC_ID_GKI }}" \
|
|
|
+# -F text="
|
|
|
+# 🌽 *New Kernel $RELEASE_TYPE_TEXT Uploaded*
|
|
|
+# 📦 *Repository:* [${{ github.repository }}](https://github.com/${{ github.repository }})
|
|
|
+# ✏️ *Commit:* [${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }})
|
|
|
+# [🔗 View GitHub Release](https://github.com/${{ github.repository }}/releases/tag/${{ env.NEW_TAG }})" \
|
|
|
+# -F parse_mode="Markdown"
|