ci: add tests (#1141)

This commit is contained in:
Jiralite authored and GitHub committed 2026-06-23 04:41:46 +02:00
1 parent ad99de22bc
commit 545814abc1
152 files changed
+287 -532

No files matched your search

+2 -2
View File
@@ -378,7 +378,7 @@ fn resolve_desktop_dir() -> Result<PathBuf> {
))
}
fn write_build_channel_file(root: &Path, channel: &str) -> Result<()> {
pub(crate) fn write_build_channel_file(root: &Path, channel: &str) -> Result<()> {
ensure!(
matches!(channel, "stable" | "canary"),
"Invalid BUILD_CHANNEL: {channel}. Must be 'stable' or 'canary'."
@@ -2703,7 +2703,7 @@ fn write_macos_releases(
}],
});
write_json_pretty(&dest.join("RELEASES.json"), &releases)?;
fs::copy(dest.join("RELEASES.json"), dest.join("releases.json"))?;
write_json_pretty(&dest.join("releases.json"), &releases)?;
Ok(())
}