build: disable GitHub Actions in 32-x-y (#42532)

build: disable GHActions in 32-x-y
This commit is contained in:
Keeley Hammond 2024-06-17 13:32:12 -05:00 committed by GitHub
parent efe98f76d1
commit 9fc0bfece2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -385,6 +385,7 @@ function buildCircleCI (targetBranch, options) {
} }
} }
// eslint-disable-next-line @typescript-eslint/no-unused-vars
function buildGHActions (targetBranch, options) { function buildGHActions (targetBranch, options) {
if (options.job) { if (options.job) {
assert(ghActionsPublishWorkflows.includes(options.job), `Unknown GitHub Actions workflow name: ${options.job}. Valid values are: ${ghActionsPublishWorkflows}.`); assert(ghActionsPublishWorkflows.includes(options.job), `Unknown GitHub Actions workflow name: ${options.job}. Valid values are: ${ghActionsPublishWorkflows}.`);
@ -405,10 +406,10 @@ function runRelease (targetBranch, options) {
buildCircleCI(targetBranch, options); buildCircleCI(targetBranch, options);
break; break;
} }
case 'GitHubActions': { // case 'GitHubActions': {
buildGHActions(targetBranch, options); // buildGHActions(targetBranch, options);
break; // break;
} // }
case 'AppVeyor': { case 'AppVeyor': {
buildAppVeyor(targetBranch, options); buildAppVeyor(targetBranch, options);
break; break;
@ -421,7 +422,7 @@ function runRelease (targetBranch, options) {
} else { } else {
buildCircleCI(targetBranch, options); buildCircleCI(targetBranch, options);
buildAppVeyor(targetBranch, options); buildAppVeyor(targetBranch, options);
buildGHActions(targetBranch, options); // buildGHActions(targetBranch, options);
} }
console.log(`${jobRequestedCount} jobs were requested.`); console.log(`${jobRequestedCount} jobs were requested.`);
} }