chore(ci): ci warn message should be re-directed to stderr

This commit is contained in:
Neko Ayaka
2026-03-31 21:51:28 +08:00
parent 9fef9947a4
commit 4e62f15090
@@ -33,7 +33,11 @@ if (!useIconFormattedMacAppIcon) {
console.warn('[electron-builder/config] Warning: Xcode version is below 26. Using .icns format for macOS app icon.')
}
else {
console.info('[electron-builder/config] Xcode version is 26 or above. Using .icon format for macOS app icon.')
// NOTICE: This success-path message intentionally uses stderr via `console.warn`.
// The artifact metadata CLI imports this config and is used in GitHub Actions
// command substitution for `GITHUB_ENV`; writing this log to stdout would break
// machine-readable output such as `BUNDLE_NAME=$(...)`.
console.warn('[electron-builder/config] Xcode version is 26 or above. Using .icon format for macOS app icon.')
}
export default {