Преглед изворни кода

fix(action): update condition checks for use_repo input in download-kernel action

Co-authored-by: Copilot <copilot@github.com>
TheWildJames пре 4 месеци
родитељ
комит
03c1f6c7c3
1 измењених фајлова са 4 додато и 4 уклоњено
  1. 4 4
      .github/actions/download-kernel/action.yml

+ 4 - 4
.github/actions/download-kernel/action.yml

@@ -24,7 +24,7 @@ runs:
   using: composite
   steps:
     - name: Initialize and Sync Kernel Repository
-      if: ${{ inputs.use_repo }}
+      if: ${{ inputs.use_repo == 'true' }}
       id: sync
       shell: bash
       working-directory: ${{ github.workspace }}/kernel
@@ -44,7 +44,7 @@ runs:
 
     - name: Download manifest.xml for branch (with deprecated fallback)
       shell: bash
-      if: ${{ !inputs.use_repo }}
+      if: ${{ inputs.use_repo != 'true' }}
       working-directory: ${{ github.workspace }}/kernel
       run: |
         set -e
@@ -67,13 +67,13 @@ runs:
 
     - name: Debug Show manifest.xml
       shell: bash
-      if: ${{ !inputs.use_repo }}
+      if: ${{ inputs.use_repo != 'true' }}
       working-directory: ${{ github.workspace }}/kernel
       run: cat manifest.xml
 
     - name: Fast Parallel Archive Download
       shell: python
-      if: ${{ !inputs.use_repo }}
+      if: ${{ inputs.use_repo != 'true' }}
       working-directory: ${{ github.workspace }}/kernel
       run: |
         import xml.etree.ElementTree as ET