Просмотр исходного кода

Update build.yml

added fold 5 to build
jimsterino98 9 месяцев назад
Родитель
Сommit
f30541f37e
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      .github/workflows/build.yml

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

@@ -223,7 +223,7 @@ jobs:
           echo "Building the kernel..."
           if [[ "${{ inputs.branch }}" == "SM-S928B-Oneui7" || "${{ inputs.branch }}" == "SM-S928B-Oneui8" ]]; then
             ./build_kernel_GKI.sh
-          elif [[ "${{ inputs.branch }}" == "SM-X916B" ]]; then
+          elif [[ "${{ inputs.branch }}" == "SM-X916B" || "${{ inputs.branch }}" == "SM-F946N" ]]; then
             LTO=thin ./build_kernel_GKI.sh || true
           else
             #temporarily using this until i can figure out the other phones build script issues
@@ -249,7 +249,7 @@ jobs:
             cp ./kernel_platform/sec/dist/Image ../AnyKernel3/Image
           elif [[ -f ./$CONFIG/bazel-bin/common/kernel_aarch64/Image ]]; then
             cp ./$CONFIG/bazel-bin/common/kernel_aarch64/Image ../AnyKernel3/Image
-          elif [[ "${{ inputs.branch }}" == "SM-X916B" ]]; then
+          elif [[ "${{ inputs.branch }}" == "SM-X916B" || "${{ inputs.branch }}" == "SM-F946N" ]]; then
             cp ./out/msm-kalama-kalama-gki/dist/Image ../AnyKernel3/Image
           else
             echo "Error: Image file not found in any expected location"