Răsfoiți Sursa

Update build workflow to remove Git LFS and add extraction

Removed Git LFS installation steps and added extraction of tar.xz files.
jimsterino98 9 luni în urmă
părinte
comite
4021665070
1 a modificat fișierele cu 9 adăugiri și 10 ștergeri
  1. 9 10
      .github/workflows/build.yml

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

@@ -56,20 +56,19 @@ jobs:
           git clone https://github.com/WildKernels/AnyKernel3.git -b "$ANYKERNEL_BRANCH"
           git clone https://github.com/WildKernels/kernel_patches.git
           git clone https://gitlab.com/simonpunk/susfs4ksu.git -b "$SUSFS_BRANCH"
-
-      - name: Install Git LFS
-        run: |
-          sudo apt-get update
-          sudo apt-get install -y git-lfs
-          git lfs install
       
       - name: Clone Kernel Source
         run: |
           git clone https://github.com/WildKernels/Samsung_Kernels.git -b ${{ inputs.branch }} $CONFIG
-          cd $CONFIG
-          git lfs install --local
-          git lfs pull
-          
+
+      - name: Extract all tar.xz files and delete them
+        run: |
+         find . -type f -name '*.tar.xz' -print0 | while IFS= read -r -d '' file; do
+          echo "Extracting $file"
+          tar -xf "$file"
+          rm "$file"
+         done
+
       - name: Check Directory Space Usage
         run: |
           echo "===== Total Disk Space After Kernel Download in GB ====="