Kaynağa Gözat

Change LTO variable to BUILD_LTO in action.yml

jimsterino98 2 hafta önce
ebeveyn
işleme
65402e31e3
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      .github/actions/lto/action.yml

+ 2 - 2
.github/actions/lto/action.yml

@@ -7,13 +7,13 @@ runs:
   - name: configure LTO based on env variable
     shell: bash
     run: |
-     if [[ "$LTO" == "full" ]]; then
+     if [[ "$BUILD_LTO" == "full" ]]; then
       "$COMMON/scripts/config" --file "$GKI_DEFCONFIG" --enable CONFIG_LTO_CLANG
       "$COMMON/scripts/config" --file "$GKI_DEFCONFIG" --disable CONFIG_LTO_NONE
       "$COMMON/scripts/config" --file "$GKI_DEFCONFIG" --disable CONFIG_LTO_CLANG_THIN
       "$COMMON/scripts/config" --file "$GKI_DEFCONFIG" --enable CONFIG_LTO_CLANG_FULL
       
-     elif [[ "$LTO" == "thin" ]]; then
+     elif [[ "$BUILD_LTO" == "thin" ]]; then
       "$COMMON/scripts/config" --file "$GKI_DEFCONFIG" --enable CONFIG_LTO_CLANG
       "$COMMON/scripts/config" --file "$GKI_DEFCONFIG" --disable CONFIG_LTO_NONE
       "$COMMON/scripts/config" --file "$GKI_DEFCONFIG" --disable CONFIG_LTO_CLANG_FULL