Prechádzať zdrojové kódy

Refactor branch conditionals in build.yml

jimsterino98 6 mesiacov pred
rodič
commit
e68c9d1b38
1 zmenil súbory, kde vykonal 3 pridanie a 1 odobranie
  1. 3 1
      .github/workflows/build.yml

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

@@ -369,8 +369,10 @@ jobs:
           #  exit 1
           #fi
           
-          if [[ "${{ inputs.branch }}" == "SM-S928B-Oneui7" || "${{ inputs.branch }}" == "SM-S928B-Oneui8" || "${{ inputs.branch }}" == "SM-S938B-Oneui7" ]]; then
+          if [[ "${{ inputs.branch }}" == "SM-S928B-Oneui7" || "${{ inputs.branch }}" == "SM-S928B-Oneui8" ]]; then
             cp ./kernel_platform/sec/dist/Image "$ANYKERNEL3/Image"
+          elif [[ "${{ inputs.branch }}" == "SM-S938B-Oneui7" ]]; then
+            cp ./kernel_platform/gki/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" || "${{ inputs.branch }}" == "SM-F946N" || "${{ inputs.branch }}" == "SM-F946B-Oneui8" || "${{ inputs.branch }}" == "SM-S916B-Oneui8" || "${{ inputs.branch }}" == "SM-S918B-Oneui8" ]]; then