build: add GitHub Actions publishing pipeline for macOS (#42236)
* build: add publishing workflow for GHActions * build: add test repo/bucket for uploads * build: clean up conditionals, add macos-14-large, review comments * build: remove host_cpu var from GCLIENT_EXTRA_ARGS
This commit is contained in:
parent
4436ce53bc
commit
361b37592a
12 changed files with 341 additions and 83 deletions
|
@ -14,7 +14,12 @@ const readline = require('node:readline');
|
|||
const releaseNotesGenerator = require('./notes/index.js');
|
||||
const { getCurrentBranch, ELECTRON_DIR } = require('../lib/utils.js');
|
||||
const bumpType = args._[0];
|
||||
const targetRepo = bumpType === 'nightly' ? 'nightlies' : 'electron';
|
||||
const targetRepo = getRepo();
|
||||
|
||||
function getRepo () {
|
||||
if (process.env.IS_GHA_RELEASE) return 'test-releases';
|
||||
return bumpType === 'nightly' ? 'nightlies' : 'electron';
|
||||
}
|
||||
|
||||
const octokit = new Octokit({
|
||||
auth: process.env.ELECTRON_GITHUB_TOKEN
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue