Merge remote-tracking branch 'origin/master' into feat/game-works-management

This commit is contained in:
2026-10-04 18:28:11 +08:00
7 changed files with 17 additions and 9 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ set -euo pipefail
rustc -vV > /opt/genarrative-ci/rust-cache/rustc.txt
export GITHUB_ENV=/tmp/rust-cache.env CARGO_INCREMENTAL=0 CARGO_BUILD_JOBS=4 CI=true
# sccache 对 CARGO_*(除 jobserver/jobs 等特例)参与 hash,必须与 workflow 对齐。
export CARGO_HTTP_MULTIPLEXING=false CARGO_NET_RETRY=10 CARGO_TERM_COLOR=always
export CARGO_HTTP_MULTIPLEXING=false CARGO_NET_RETRY=10 CARGO_TERM_COLOR=always CARGO_TERM_QUIET=true
bash /tmp/ci-rust-cache.sh prepare
set -a
source "${GITHUB_ENV}"
+4 -1
View File
@@ -5081,7 +5081,7 @@ for (const step of steps) {
continue;
}
console.log(`[check:native-shells] ${step.label}`);
// 成功不打印进度标签;只有在失败时才知道是哪个 step,避免每个 step 一行刷屏。
const result = spawnSync(step.command, step.args, {
cwd: process.cwd(),
stdio: 'inherit',
@@ -5102,6 +5102,9 @@ for (const step of steps) {
}
if ((result.status ?? 0) !== 0) {
console.error(
`[check:native-shells] ${step.label} failed (exit=${result.status})`,
);
process.exit(result.status ?? 1);
}
}