Prechádzať zdrojové kódy

ci: remove redundant file name setting step in build workflow

The step for setting file name was redundant as the artifact naming is handled elsewhere in the workflow. This simplifies the build process by removing unnecessary configuration.
TheWildJames 9 mesiacov pred
rodič
commit
90c868cc8c
1 zmenil súbory, kde vykonal 2 pridanie a 8 odobranie
  1. 2 8
      .github/workflows/build.yml

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

@@ -347,7 +347,7 @@ jobs:
               fi
 
               # Apply additional SUSFS patches for Android 13 5.15 compatibility
-              if [[ "${{ inputs.android_version }}" == "android13" && "${{ inputs.kernel_version }}" == "5.15" ]] && [[ ${{ inputs.sub_level }} -le 41 ]]; then
+              #if [[ "${{ inputs.android_version }}" == "android13" && "${{ inputs.kernel_version }}" == "5.15" ]] && [[ ${{ inputs.sub_level }} -le 41 ]]; then
                 #cp $KERNEL_PATCHES/ksu/susfs_fix_patches/v${SUSFS_VERSION}/fix_fdinfo.c.patch ./
                 #patch -p1 < fix_fdinfo.c.patch || true
                 #cp $KERNEL_PATCHES/ksu/susfs_fix_patches/v${SUSFS_VERSION}/fix_namespace.c.patch ./
@@ -355,7 +355,7 @@ jobs:
                 #cp $KERNEL_PATCHES/ksu/susfs_fix_patches/v${SUSFS_VERSION}/fix_open.c.patch ./
                 #patch -p1 < fix_open.c.patch || true
                 #sed -i 's/i_uid_into_mnt(i_user_ns(inode), inode)/i_uid_into_mnt(inode->i_sb->s_user_ns, inode)/g' fs/susfs.c
-              fi
+              #fi
               ;;
           esac
 
@@ -667,12 +667,6 @@ jobs:
             perl -pi -e 's/^\s*"protected_exports_list"\s*:\s*"android\/abi_gki_protected_exports_aarch64",\s*$//;' ./common/BUILD.bazel
           fi
 
-      - name: Set file name
-        run: |
-          ARTIFACT_BASE="${{ inputs.kernel_version }}.$ACTUAL_SUBLEVEL-${{ inputs.android_version }}-${{ inputs.os_patch_level }}-${{ matrix.build_type == 'bypass' && 'Bypass' || matrix.build_type == 'vTomsonek' && 'vTomsonek' || matrix.build_type == 'TheWildJames' && 'TheWildJames' || 'Normal' }}"
-          echo "ARTIFACT_BASE=$ARTIFACT_BASE" >> $GITHUB_ENV
-          echo "FILE_NAME=$ARTIFACT_BASE" >> $GITHUB_ENV
-
       - name: Build
         working-directory: ${{ env.KERNEL_ROOT }}
         run : |