mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-15 03:53:16 +08:00
🔨 调整构建
This commit is contained in:
@@ -46,6 +46,12 @@ execSync("pnpm tauri build", { stdio: "inherit" });
|
||||
|
||||
// 上传pdb
|
||||
if (isGitHubActions) {
|
||||
if (process.env.GITHUB_ENV) {
|
||||
writeFileSync(process.env.GITHUB_ENV, `SENTRY_RELEASE=${release}\n`, { flag: "a" });
|
||||
console.log("📦 SENTRY_RELEASE exported to GitHub Actions env.");
|
||||
} else {
|
||||
console.warn("⚠️ Not running inside GitHub Actions. Skipping env export.");
|
||||
}
|
||||
process.exit();
|
||||
}
|
||||
const pdbGlob = "src-tauri/target/release/TeyvatGuide.pdb";
|
||||
|
||||
Reference in New Issue
Block a user