15 lines
594 B
Markdown
15 lines
594 B
Markdown
# AI Modification Log: Build Result Detection
|
|
|
|
Date: 2026-06-29
|
|
|
|
## Change
|
|
|
|
- Updated X/Y/Z workflow build steps to use `set -o pipefail` before `make | tee`.
|
|
- Captured the build status immediately after the primary build or fallback build.
|
|
- Appended fallback build output to `build_log.log`.
|
|
- Moved the Z workflow mosdns `CGO_ENABLED=1` fix before `make` runs.
|
|
|
|
## Reason
|
|
|
|
Without `pipefail`, `make | tee` could report success when `make` failed. In the Z workflow, the mosdns fix ran after `make`, so it was applied too late and the final `$?` reflected `sed` instead of the build result.
|