Explorar o código

ci(workflows): update artifact patterns and release notes

- Modify artifact download pattern to specifically target AnyKernel3 files
- Update release notes with clearer instructions about boot.img availability
- Split artifact uploads into separate steps for better organization
TheWildJames hai 11 meses
pai
achega
719b35d781
Modificáronse 2 ficheiros con 24 adicións e 7 borrados
  1. 21 5
      .github/workflows/build.yml
  2. 3 2
      .github/workflows/main.yml

+ 21 - 5
.github/workflows/build.yml

@@ -517,10 +517,26 @@ jobs:
           $AVBTOOL add_hash_footer --partition_name boot --partition_size $((64 * 1024 * 1024)) --image boot-lz4.img --algorithm SHA256_RSA2048 --key $BOOT_SIGN_KEY_PATH
           cp ./boot-lz4.img ../WKSU-$KSUVER-${{ inputs.android_version }}-${{ inputs.kernel_version }}.$SUBLEVEL_FOR_NAME-${{ inputs.os_patch_level }}-boot-lz4.img
           
-      - name: Upload Build Artifacts
+      - name: Upload AnyKernel3 ZIP
         uses: actions/upload-artifact@v4
         with:
-          name: WKSU-${{ env.KSUVER }}${{ matrix.apply_symbol_fix && '-SymbolFix' || '' }}-${{ inputs.android_version }}-${{ inputs.kernel_version }}.${{ env.ACTUAL_SUBLEVEL || inputs.sub_level }}-${{ inputs.os_patch_level }}
-          path: |
-            *.zip
-            *.img
+          name: WKSU-${{ env.KSUVER }}${{ matrix.apply_symbol_fix && '-SymbolFix' || '' }}-${{ inputs.android_version }}-${{ inputs.kernel_version }}.${{ env.ACTUAL_SUBLEVEL || inputs.sub_level }}-${{ inputs.os_patch_level }}-AnyKernel3
+          path: "*.zip"
+
+      - name: Upload Boot Image (Uncompressed)
+        uses: actions/upload-artifact@v4
+        with:
+          name: WKSU-${{ env.KSUVER }}${{ matrix.apply_symbol_fix && '-SymbolFix' || '' }}-${{ inputs.android_version }}-${{ inputs.kernel_version }}.${{ env.ACTUAL_SUBLEVEL || inputs.sub_level }}-${{ inputs.os_patch_level }}-boot
+          path: "*-boot.img"
+
+      - name: Upload Boot Image (GZ Compressed)
+        uses: actions/upload-artifact@v4
+        with:
+          name: WKSU-${{ env.KSUVER }}${{ matrix.apply_symbol_fix && '-SymbolFix' || '' }}-${{ inputs.android_version }}-${{ inputs.kernel_version }}.${{ env.ACTUAL_SUBLEVEL || inputs.sub_level }}-${{ inputs.os_patch_level }}-boot-gz
+          path: "*-boot-gz.img"
+
+      - name: Upload Boot Image (LZ4 Compressed)
+        uses: actions/upload-artifact@v4
+        with:
+          name: WKSU-${{ env.KSUVER }}${{ matrix.apply_symbol_fix && '-SymbolFix' || '' }}-${{ inputs.android_version }}-${{ inputs.kernel_version }}.${{ env.ACTUAL_SUBLEVEL || inputs.sub_level }}-${{ inputs.os_patch_level }}-boot-lz4
+          path: "*-boot-lz4.img"

+ 3 - 2
.github/workflows/main.yml

@@ -116,7 +116,7 @@ jobs:
         uses: actions/download-artifact@v5
         with:
           path: ./downloaded-artifacts
-          pattern: 'WKSU-*'
+          pattern: 'WKSU-*-AnyKernel3'
 
       - name: Set release body
         run: |
@@ -128,7 +128,7 @@ jobs:
           Please ensure you have proper backups before installation.
 
           NEW:
-          -> **Symbol Fix Variant**: Normal build with additional symbol fixes for compatibility, if you encounter any issues with the normal build try this!
+          -> **Symbol Fix Variant**: Normal build with additional hack for compatibility, if you encounter any issues with the normal build try this!
       
           Features:
           -> Wild KSU
@@ -145,6 +145,7 @@ jobs:
           Notes:
           -> SUS SU Mode 2 will show as disabled or not compatble due to non-kprobe hooks and is not needed anymore!
           -> Official Kernel Flasher is broken with latest susfs, try https://github.com/fatalcoder524/KernelFlasher/
+          -> **boot.img files**: Available as CI artifacts only (not included in releases) - download from the Actions tab 
           -> **Warning**: boot.img files may not boot on some Android 16 devices
       
           Module: