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

ci: simplify android14 build condition in workflow

Remove redundant kernel_version check since the build configuration is only dependent on android_version being "android14"
TheWildJames 8 месяцев назад
Родитель
Сommit
795c6acad8
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      .github/workflows/build.yml

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

@@ -715,7 +715,7 @@ jobs:
         if [ -f "build/build.sh" ]; then
           LTO=thin BUILD_CONFIG=common/build.config.gki.aarch64 build/build.sh || exit 1
         else
-          if [[ "${{ inputs.android_version }}" == "android14" && "${{ inputs.kernel_version }}" == "5.15" ]]; then
+          if [[ "${{ inputs.android_version }}" == "android14" ]]; then
             tools/bazel build --config=fast --lto=thin //common:kernel_aarch64_dist || exit 1
           else
             tools/bazel build --config=fast --lto=none //common:kernel_aarch64_dist || exit 1