Browse Source

Update main.yml

James McConnell 1 year ago
parent
commit
1c7f6111bf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/main.yml

+ 1 - 1
.github/workflows/main.yml

@@ -133,6 +133,7 @@ jobs:
       kernelsu_branch_other: ${{ inputs.kernelsu_branch_other }}
 
   release:
+    if: inputs.release_type == 'Release' || inputs.release_type == 'Pre-Release')
     runs-on: ubuntu-latest
     needs:
       - build-kernels-a12
@@ -288,7 +289,6 @@ jobs:
           ls ./downloaded-artifacts/**/*
 
       - name: Send Telegram Release Notification
-        if: inputs.release_type == 'Release' || inputs.release_type == 'Pre-Release')
         env:
           TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
           TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}