update files in .github to support arm64
This commit is contained in:
1
.github/workflows/push_json_to_pocketbase.yml
generated
vendored
1
.github/workflows/push_json_to_pocketbase.yml
generated
vendored
@@ -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
13
.github/workflows/unmet-pr-close.yml
generated
vendored
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user