Перенести комментарий о CI-особенности Divine в build.ps1

This commit is contained in:
2026-04-09 07:49:11 +03:00
parent 9d1a26c8e0
commit df1daee6ab
2 changed files with 2 additions and 1 deletions

View File

@@ -113,6 +113,8 @@ if (Test-Path -LiteralPath $tempPackagePath) {
Remove-Item -LiteralPath $tempPackagePath -Force
}
# CI quirk: Divine can occasionally emit a broken ~48-byte package for some source roots.
# Mitigation: try staged/mods/workspace sources and accept only outputs that look valid by size.
$packageAttempts = @(
[ordered]@{ Name = "staging-root"; Source = $stagingPath },
[ordered]@{ Name = "mods-root"; Source = $modsPath },