Răsfoiți Sursa

ci: rename kernel build jobs and version inputs

update all github workflow input options, job names, and reference checks to use the standard androidXX.Y.Y kernel version naming scheme, replacing the older aXX-Y-Z format for consistency
trae 4 luni în urmă
părinte
comite
44b05e9fbd
1 a modificat fișierele cu 42 adăugiri și 42 ștergeri
  1. 42 42
      .github/workflows/main.yml

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

@@ -20,13 +20,13 @@ on:
         type: choice
         type: choice
         options:
         options:
           - All
           - All
-          - a12-5-10
-          - a13-5-10
-          - a13-5-15
-          - a14-5-15
-          - a14-6-1
-          - a15-6-6
-          - a16-6-12
+          - android12-5.10
+          - android13-5.10
+          - android13-5.15
+          - android14-5.15
+          - android14-6.1
+          - android15-6.6
+          - android16-6.12
         default: All
         default: All
       feature_set:
       feature_set:
         description: "Feature Set"
         description: "Feature Set"
@@ -59,8 +59,8 @@ on:
         default: true
         default: true
 
 
 jobs:
 jobs:
-  build-a12-5-10:
-    if: ${{ inputs.kernel_build_version == 'All' || inputs.kernel_build_version == 'a12-5-10' }}
+  build-android12-5.10:
+    if: ${{ inputs.kernel_build_version == 'All' || inputs.kernel_build_version == 'android12-5.10' }}
     uses: ./.github/workflows/prepare.yml
     uses: ./.github/workflows/prepare.yml
     with:
     with:
       config_file: .github/config/android12-5.10.json
       config_file: .github/config/android12-5.10.json
@@ -69,8 +69,8 @@ jobs:
       use_repo: ${{ inputs.use_repo }}
       use_repo: ${{ inputs.use_repo }}
     secrets: inherit
     secrets: inherit
 
 
-  build-a13-5-10:
-    if: ${{ inputs.kernel_build_version == 'All' || inputs.kernel_build_version == 'a13-5-10' }}
+  build-android13-5.10:
+    if: ${{ inputs.kernel_build_version == 'All' || inputs.kernel_build_version == 'android13-5.10' }}
     uses: ./.github/workflows/prepare.yml
     uses: ./.github/workflows/prepare.yml
     with:
     with:
       config_file: .github/config/android13-5.10.json
       config_file: .github/config/android13-5.10.json
@@ -79,8 +79,8 @@ jobs:
       use_repo: ${{ inputs.use_repo }}
       use_repo: ${{ inputs.use_repo }}
     secrets: inherit
     secrets: inherit
 
 
-  build-a13-5-15:
-    if: ${{ inputs.kernel_build_version == 'All' || inputs.kernel_build_version == 'a13-5-15' }}
+  build-android13-5.15:
+    if: ${{ inputs.kernel_build_version == 'All' || inputs.kernel_build_version == 'android13-5.15' }}
     uses: ./.github/workflows/prepare.yml
     uses: ./.github/workflows/prepare.yml
     with:
     with:
       config_file: .github/config/android13-5.15.json
       config_file: .github/config/android13-5.15.json
@@ -89,8 +89,8 @@ jobs:
       use_repo: ${{ inputs.use_repo }}
       use_repo: ${{ inputs.use_repo }}
     secrets: inherit
     secrets: inherit
 
 
-  build-a14-5-15:
-    if: ${{ inputs.kernel_build_version == 'All' || inputs.kernel_build_version == 'a14-5-15' }}
+  build-android14-5.15:
+    if: ${{ inputs.kernel_build_version == 'All' || inputs.kernel_build_version == 'android14-5.15' }}
     uses: ./.github/workflows/prepare.yml
     uses: ./.github/workflows/prepare.yml
     with:
     with:
       config_file: .github/config/android14-5.15.json
       config_file: .github/config/android14-5.15.json
@@ -99,8 +99,8 @@ jobs:
       use_repo: ${{ inputs.use_repo }}
       use_repo: ${{ inputs.use_repo }}
     secrets: inherit
     secrets: inherit
 
 
-  build-a14-6-1:
-    if: ${{ inputs.kernel_build_version == 'All' || inputs.kernel_build_version == 'a14-6-1' }}
+  build-android14-6.1:
+    if: ${{ inputs.kernel_build_version == 'All' || inputs.kernel_build_version == 'android14-6.1' }}
     uses: ./.github/workflows/prepare.yml
     uses: ./.github/workflows/prepare.yml
     with:
     with:
       config_file: .github/config/android14-6.1.json
       config_file: .github/config/android14-6.1.json
@@ -109,8 +109,8 @@ jobs:
       use_repo: ${{ inputs.use_repo }}
       use_repo: ${{ inputs.use_repo }}
     secrets: inherit
     secrets: inherit
 
 
-  build-a15-6-6:
-    if: ${{ inputs.kernel_build_version == 'All' || inputs.kernel_build_version == 'a15-6-6' }}
+  build-android15-6.6:
+    if: ${{ inputs.kernel_build_version == 'All' || inputs.kernel_build_version == 'android15-6.6' }}
     uses: ./.github/workflows/prepare.yml
     uses: ./.github/workflows/prepare.yml
     with:
     with:
       config_file: .github/config/android15-6.6.json
       config_file: .github/config/android15-6.6.json
@@ -119,8 +119,8 @@ jobs:
       use_repo: ${{ inputs.use_repo }}
       use_repo: ${{ inputs.use_repo }}
     secrets: inherit
     secrets: inherit
 
 
-  build-a16-6-12:
-    if: ${{ inputs.kernel_build_version == 'All' || inputs.kernel_build_version == 'a16-6-12' }}
+  build-android16-6.12:
+    if: ${{ inputs.kernel_build_version == 'All' || inputs.kernel_build_version == 'android16-6.12' }}
     uses: ./.github/workflows/prepare.yml
     uses: ./.github/workflows/prepare.yml
     with:
     with:
       config_file: .github/config/android16-6.12.json
       config_file: .github/config/android16-6.12.json
@@ -136,13 +136,13 @@ jobs:
       actions: read
       actions: read
       contents: read
       contents: read
     needs:
     needs:
-    - build-a12-5-10
-    - build-a13-5-10
-    - build-a13-5-15
-    - build-a14-5-15
-    - build-a14-6-1
-    - build-a15-6-6
-    - build-a16-6-12
+    - build-android12-5.10
+    - build-android13-5.10
+    - build-android13-5.15
+    - build-android14-5.15
+    - build-android14-6.1
+    - build-android15-6.6
+    - build-android16-6.12
 
 
     steps:
     steps:
     - name: Download Misc Artifacts
     - name: Download Misc Artifacts
@@ -202,13 +202,13 @@ jobs:
     permissions:
     permissions:
       contents: write
       contents: write
     needs:
     needs:
-    - build-a12-5-10
-    - build-a13-5-10
-    - build-a13-5-15
-    - build-a14-5-15
-    - build-a14-6-1
-    - build-a15-6-6
-    - build-a16-6-12
+    - build-android12-5.10
+    - build-android13-5.10
+    - build-android13-5.15
+    - build-android14-5.15
+    - build-android14-6.1
+    - build-android15-6.6
+    - build-android16-6.12
 
 
     env:
     env:
       GH_TOKEN: ${{ github.token }}
       GH_TOKEN: ${{ github.token }}
@@ -237,13 +237,13 @@ jobs:
           fi
           fi
         }
         }
 
 
-        check_selected "a12-5-10" "build-a12-5-10" "${{ needs.build-a12-5-10.result }}"
-        check_selected "a13-5-10" "build-a13-5-10" "${{ needs.build-a13-5-10.result }}"
-        check_selected "a13-5-15" "build-a13-5-15" "${{ needs.build-a13-5-15.result }}"
-        check_selected "a14-5-15" "build-a14-5-15" "${{ needs.build-a14-5-15.result }}"
-        check_selected "a14-6-1" "build-a14-6-1" "${{ needs.build-a14-6-1.result }}"
-        check_selected "a15-6-6" "build-a15-6-6" "${{ needs.build-a15-6-6.result }}"
-        check_selected "a16-6-12" "build-a16-6-12" "${{ needs.build-a16-6-12.result }}"
+        check_selected "android12-5.10" "build-android12-5.10" "${{ needs.build-android12-5.10.result }}"
+        check_selected "android13-5.10" "build-android13-5.10" "${{ needs.build-android13-5.10.result }}"
+        check_selected "android13-5.15" "build-android13-5.15" "${{ needs.build-android13-5.15.result }}"
+        check_selected "android14-5.15" "build-android14-5.15" "${{ needs.build-android14-5.15.result }}"
+        check_selected "android14-6.1" "build-android14-6.1" "${{ needs.build-android14-6.1.result }}"
+        check_selected "android15-6.6" "build-android15-6.6" "${{ needs.build-android15-6.6.result }}"
+        check_selected "android16-6.12" "build-android16-6.12" "${{ needs.build-android16-6.12.result }}"
 
 
         if [[ "$failed" -ne 0 ]]; then
         if [[ "$failed" -ne 0 ]]; then
           exit 1
           exit 1