Procházet zdrojové kódy

Modify build action to handle specific branches

jimsterino98 před 2 měsíci
rodič
revize
55b89d5e4b
1 změnil soubory, kde provedl 4 přidání a 1 odebrání
  1. 4 1
      .github/actions/build/action.yml

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

@@ -22,7 +22,10 @@ runs:
      set -x
      set -x
      cd "$CONFIG"
      cd "$CONFIG"
      echo "Building the kernel..."
      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
       cd kernel_platform
       tools/bazel build //common:kernel_aarch64
       tools/bazel build //common:kernel_aarch64
      elif [[ ${{ inputs.branch }} == SM-A055* || ${{ inputs.branch }} == SM-X926B* ]]; then
      elif [[ ${{ inputs.branch }} == SM-A055* || ${{ inputs.branch }} == SM-X926B* ]]; then