Selaa lähdekoodia

feat(main): move os_patch_level above brand_name, default to All

Relocate os_patch_level ahead of brand_name in the dispatch inputs and
default it to 'All' (no patch-level filter). prepare.yml now matches the
'all' sentinel case-insensitively so both 'all' and 'All' disable the
matrix filter.
TheWildJames 2 viikkoa sitten
vanhempi
sitoutus
13dc081c51
2 muutettua tiedostoa jossa 6 lisäystä ja 6 poistoa
  1. 5 5
      .github/workflows/main.yml
  2. 1 1
      .github/workflows/prepare.yml

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

@@ -28,6 +28,11 @@ on:
           - android15-6.6
           - android16-6.12
         default: All
+      os_patch_level:
+        description: "Patch date (YYYY-MM), kernel sublevel, lts, or All (no filter)"
+        required: true
+        type: string
+        default: All
       brand_name:
         description: "Kernel Branding"
         type: string
@@ -40,11 +45,6 @@ on:
           - latest
           - verified
         default: latest
-      os_patch_level:
-        description: "Patch date (YYYY-MM), kernel sublevel, lts (builds the LTS branch), or all"
-        required: true
-        type: string
-        default: all
       root_flavor:
         description: "Root Flavor"
         type: choice

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

@@ -134,7 +134,7 @@ jobs:
             }')
 
           SELECTED_PATCH_LEVEL="${{ inputs.os_patch_level }}"
-          if [ "$SELECTED_PATCH_LEVEL" = "all" ]; then
+          if [ "$(printf '%s' "$SELECTED_PATCH_LEVEL" | tr '[:upper:]' '[:lower:]')" = "all" ]; then
             SELECTED_PATCH_LEVEL=""
           fi
           if [ -n "$SELECTED_PATCH_LEVEL" ]; then