James McConnell 1 سال پیش
والد
کامیت
771e113baa
1فایلهای تغییر یافته به همراه7 افزوده شده و 5 حذف شده
  1. 7 5
      .github/workflows/main.yml

+ 7 - 5
.github/workflows/main.yml

@@ -56,12 +56,13 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - name: Send Telegram Notification
-        if: inputs.release_type == 'Actions'
+        if: ${{ inputs.release_type == 'Actions' }}
         run: |
           curl -s -X POST "https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendDocument" \
             -F chat_id="${{ secrets.TELEGRAM_CHAT_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 }})
             🗂️ *Branch:* ${{ github.ref_name }}
             ✏️ *Commit:* [${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }})
@@ -132,7 +133,7 @@ jobs:
       kernelsu_branch_other: ${{ inputs.kernelsu_branch_other }}
 
   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
     needs:
       - build-kernels-a12
@@ -141,7 +142,7 @@ jobs:
       - build-kernels-a15
     env:
       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:
     steps:
       - name: Checkout code
@@ -295,7 +296,8 @@ jobs:
           curl -s -X POST "https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendDocument" \
             -F chat_id="${{ secrets.TELEGRAM_CHAT_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 }})
             🗂️ *Branch:* ${{ github.ref_name }}
             ✏️ *Commit:* [${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }})