update files in .github to support arm64

This commit is contained in:
Sam Heinz
2026-05-22 23:50:19 +10:00
parent 8e477b1fca
commit 4eecc6ad70
8 changed files with 42 additions and 1 deletions

View File

@@ -230,6 +230,7 @@ jobs:
if (resolvedType) payload.type = resolvedType;
var resolvedCats = (data.categories || []).map(function(n) { return categoryNameToPbId[categoryIdToName[n]]; }).filter(Boolean);
if (resolvedCats.length) payload.categories = resolvedCats;
if (data.has_arm !== undefined) payload.has_arm = data.has_arm === true || data.has_arm === 'true';
if (data.version !== undefined) payload.version = data.version;
if (data.changelog !== undefined) payload.changelog = data.changelog;
if (data.screenshots !== undefined) payload.screenshots = data.screenshots;

13
.github/workflows/unmet-pr-close.yml generated vendored
View File

@@ -91,6 +91,19 @@ jobs:
}
}
const architectureOptions = [
"**arm64 supported**",
"**arm64 not tested**",
"**arm64 not supported**"
];
const hasArchitectureSelection = architectureOptions.some(req => {
const line = findLine(req);
return line && checkboxChecked(line);
});
if (!hasArchitectureSelection) {
missing.push("One arm64 support option (`arm64 supported`, `arm64 not tested`, or `arm64 not supported`) must be checked");
}
if (missing.length > 0) {
let list = "";
for (const m of missing) {