فهرست منبع

Remove run ID and job ID from artifact naming

- Simplified artifact naming by removing github.run_id and github.job
- Added debug output to monitor actual artifact names
- Artifact names now use only core parameters for cleaner naming
TheWildJames 11 ماه پیش
والد
کامیت
ee417b73e2
1فایلهای تغییر یافته به همراه8 افزوده شده و 2 حذف شده
  1. 8 2
      .github/workflows/build.yml

+ 8 - 2
.github/workflows/build.yml

@@ -418,10 +418,16 @@ jobs:
           if [ -n "$ACTUAL_SUBLEVEL" ]; then
             SUBLEVEL_FOR_NAME="$ACTUAL_SUBLEVEL"
           fi
-          # Add workflow run ID to ensure uniqueness across multiple workflow calls
-          ARTIFACT_BASE="WKSU-${{ env.KSUVER }}-SUSFS_${{ matrix.apply_susfs_v1_5_9 }}-${{ inputs.android_version }}-${{ inputs.kernel_version }}.${SUBLEVEL_FOR_NAME}-${{ inputs.os_patch_level }}-${{ matrix.apply_module_check_bypass == 'bypass' && 'Module_Check_Bypass' || 'Normal' }}-${{ github.run_id }}"
+          # Set artifact name base for consistent naming
+          ARTIFACT_BASE="WKSU-${{ env.KSUVER }}-SUSFS_${{ matrix.apply_susfs_v1_5_9 }}-${{ inputs.android_version }}-${{ inputs.kernel_version }}.${SUBLEVEL_FOR_NAME}-${{ inputs.os_patch_level }}-${{ matrix.apply_module_check_bypass == 'bypass' && 'Module_Check_Bypass' || 'Normal' }}"
           echo "ARTIFACT_BASE=$ARTIFACT_BASE" >> $GITHUB_ENV
           echo "FILE_NAME=$ARTIFACT_BASE" >> $GITHUB_ENV
+          
+          # Debug output to show the actual artifact name being used
+          echo "🔍 DEBUG: Generated artifact name: $ARTIFACT_BASE"
+          echo "🔍 DEBUG: Matrix values - SUSFS: ${{ matrix.apply_susfs_v1_5_9 }}, Module Check: ${{ matrix.apply_module_check_bypass }}"
+          echo "🔍 DEBUG: Input values - Android: ${{ inputs.android_version }}, Kernel: ${{ inputs.kernel_version }}, Sub-level: ${{ inputs.sub_level }}, OS Patch: ${{ inputs.os_patch_level }}"
+          echo "🔍 DEBUG: Runtime values - Run ID: ${{ github.run_id }}, Job: ${{ github.job }}, KSU Version: ${{ env.KSUVER }}"
 
       - name: Prepare AnyKernel3
         run: |