Explorar o código

Refactor branch condition checks in action.yml

jimsterino98 hai 3 semanas
pai
achega
a96e2c4c1b
Modificáronse 1 ficheiros con 6 adicións e 2 borrados
  1. 6 2
      .github/actions/configs/action.yml

+ 6 - 2
.github/actions/configs/action.yml

@@ -19,10 +19,14 @@ runs:
      
      if [[ $BRANCH == SM-S938B* || "$BRANCH" == "SM-S931B-Oneui8" ]]; then
          echo "Nothing to see here, moving on..."
-     elif [[ "$BRANCH" == SM-S926B* ]]; then
+     elif [[ $BRANCH == SM-S926B* ]]; then
          target_config="$COMMON/arch/arm64/configs/s5e9945-bazel_defconfig"
-     elif [[ "$BRANCH" == SM-A556* ]]; then
+     elif [[ $BRANCH == SM-A556* ]]; then
          target_config="$COMMON/arch/arm64/configs/s5e8845-bazel_defconfig"
+     elif [[ $BRANCH == SM-A055* ]]; then
+         target_config="$CONFIG/kernel_device_modules-6.6/arch/arm64/configs/mediatek-bazel_defconfig"
+     elif [[ $BRANCH == SM-A075* ]]; then
+         target_config="$COMMON/arch/arm64/configs/a07_00_defconfig"
      else
          target_config="$GKI_DEFCONFIG"
      fi