Parcourir la source

ci: fix conditional logic in build workflow output

The module check output was using a ternary operator which could cause unexpected behavior. Changed to use logical AND/OR operators for more reliable conditional evaluation.
TheWildJames il y a 11 mois
Parent
commit
d849bb65b5
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      .github/workflows/build.yml

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

@@ -677,7 +677,7 @@ jobs:
           - **OS Patch Level:** ${{ inputs.os_patch_level }}
           - **KernelSU Version:** ${{ env.KSUVER }}
           - **SUSFS Version:** ${{ inputs.susfs_version }}
-          - **Module Check:** ${{ matrix.apply_module_check_bypass == 'bypass' ? 'Bypass' : 'Normal' }}
+          - **Module Check:** ${{ matrix.apply_module_check_bypass == 'bypass' && 'Bypass' || 'Normal' }}
           
           ### Build Timeline
           - **Build Started:** $(date -d '@${{ github.event.head_commit.timestamp }}' +'%Y-%m-%d %H:%M:%S UTC' 2>/dev/null || echo "Unknown")