Parcourir la source

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 il y a 4 mois
Parent
commit
44b05e9fbd
1 fichiers modifiés avec 42 ajouts et 42 suppressions
  1. 42 42
      .github/workflows/main.yml

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

@@ -20,13 +20,13 @@ on:
         type: choice
         options:
           - 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
       feature_set:
         description: "Feature Set"
@@ -59,8 +59,8 @@ on:
         default: true
 
 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
     with:
       config_file: .github/config/android12-5.10.json
@@ -69,8 +69,8 @@ jobs:
       use_repo: ${{ inputs.use_repo }}
     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
     with:
       config_file: .github/config/android13-5.10.json
@@ -79,8 +79,8 @@ jobs:
       use_repo: ${{ inputs.use_repo }}
     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
     with:
       config_file: .github/config/android13-5.15.json
@@ -89,8 +89,8 @@ jobs:
       use_repo: ${{ inputs.use_repo }}
     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
     with:
       config_file: .github/config/android14-5.15.json
@@ -99,8 +99,8 @@ jobs:
       use_repo: ${{ inputs.use_repo }}
     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
     with:
       config_file: .github/config/android14-6.1.json
@@ -109,8 +109,8 @@ jobs:
       use_repo: ${{ inputs.use_repo }}
     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
     with:
       config_file: .github/config/android15-6.6.json
@@ -119,8 +119,8 @@ jobs:
       use_repo: ${{ inputs.use_repo }}
     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
     with:
       config_file: .github/config/android16-6.12.json
@@ -136,13 +136,13 @@ jobs:
       actions: read
       contents: read
     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:
     - name: Download Misc Artifacts
@@ -202,13 +202,13 @@ jobs:
     permissions:
       contents: write
     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:
       GH_TOKEN: ${{ github.token }}
@@ -237,13 +237,13 @@ jobs:
           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
           exit 1