瀏覽代碼

Modify build action to handle specific branches

jimsterino98 2 月之前
父節點
當前提交
55b89d5e4b
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      .github/actions/build/action.yml

+ 4 - 1
.github/actions/build/action.yml

@@ -22,7 +22,10 @@ runs:
      set -x
      cd "$CONFIG"
      echo "Building the kernel..."
-     if [[ -d kernel_platform ]]; then
+     if [[ ${{ inputs.branch }} == SM-S928B* ]]; then
+      chmod +x build_kernel_GKI.sh
+      ./build_kernel_GKI.sh || true
+     elif [[ -d kernel_platform ]]; then
       cd kernel_platform
       tools/bazel build //common:kernel_aarch64
      elif [[ ${{ inputs.branch }} == SM-A055* || ${{ inputs.branch }} == SM-X926B* ]]; then