Prechádzať zdrojové kódy

Rename LTO variable to BUILD_LTO in action.yml

jimsterino98 2 týždňov pred
rodič
commit
40e4099151
1 zmenil súbory, kde vykonal 5 pridanie a 5 odobranie
  1. 5 5
      .github/actions/build/action.yml

+ 5 - 5
.github/actions/build/action.yml

@@ -25,9 +25,9 @@ runs:
      SCRIPT_LTO=""
 
      # 2. Only populate if explicit modifications are requested
-     if [[ "$LTO" == "thin" || "$LTO" == "full" ]]; then
-       BAZEL_LTO="--lto=$LTO"
-       SCRIPT_LTO="LTO=$LTO"
+     if [[ "$BUILD_LTO" == "thin" || "$BUILD_LTO" == "full" ]]; then
+       BAZEL_LTO="--lto=$BUILD_LTO"
+       SCRIPT_LTO="LTO=$BUILD_LTO"
      fi
 
      if [[ $BRANCH == SM-A055* || $BRANCH == SM-X926B* ]]; then
@@ -61,8 +61,8 @@ runs:
      SCRIPT_LTO=""
 
      # 2. Only populate if explicit modifications are requested
-     if [[ "$LTO" == "thin" || "$LTO" == "full" ]]; then
-       SCRIPT_LTO="LTO=$LTO"
+     if [[ "$BUILD_LTO" == "thin" || "$BUILD_LTO" == "full" ]]; then
+       SCRIPT_LTO="LTO=$BUILD_LTO"
      fi
      
      cd "$CONFIG"