Преглед на файлове

ci: remove duplicate artifact upload step in build workflow

The duplicate step was causing confusion and unnecessary redundancy in the workflow. The artifact upload is now handled by a single step with proper conditional logic.
TheWildJames преди 1 година
родител
ревизия
1672f9ec42
променени са 1 файла, в които са добавени 0 реда и са изтрити 9 реда
  1. 0 9
      .github/workflows/build.yml

+ 0 - 9
.github/workflows/build.yml

@@ -584,15 +584,6 @@ jobs:
           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
-        run: |
-          # Prepare sublevel for naming
-          SUBLEVEL_FOR_NAME="${{ inputs.sub_level }}"
-          if [ -n "$ACTUAL_SUBLEVEL" ]; then
-            SUBLEVEL_FOR_NAME="$ACTUAL_SUBLEVEL"
-          fi
-          
-      - name: Upload Build Artifacts
-        if: ${{ matrix.build_type == 'make' }}
         uses: actions/upload-artifact@v4
         with:
           name: WKSU-${{ env.KSUVER }}-${{ inputs.android_version }}-${{ inputs.kernel_version }}.${{ env.ACTUAL_SUBLEVEL || inputs.sub_level }}-${{ inputs.os_patch_level }}-${{ matrix.build_type }}