Explorar o código

Update action.yml

changed defconfig variable to the correct one
jimsterino98 hai 2 meses
pai
achega
0c56b98703
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      .github/actions/chroot/action.yml

+ 3 - 3
.github/actions/chroot/action.yml

@@ -32,12 +32,12 @@ runs:
      for config in "${configs[@]}"; do
          key="${config%%=*}"
 
-         if grep -qE "^(${key}=|# ${key} is not set$)" "$target_config"; then
+         if grep -qE "^(${key}=|# ${key} is not set$)" "$GKI_DEFCONFIG"; then
              sed -i -E \
                  -e "s/^${key}=.*/${config}/" \
                  -e "s/^# ${key} is not set\$/${config}/" \
-                 "$target_config"
+                 "$GKI_DEFCONFIG"
          else
-             echo "$config" >> "$target_config"
+             echo "$config" >> "$GKI_DEFCONFIG"
          fi
      done