mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
build: update release build endpoint from /jobs to /job (#21233)
This commit is contained in:
committed by
John Kleinschmidt
parent
09f5a2b741
commit
7a7b944c74
@@ -126,7 +126,7 @@ async function getCircleCIWorkflowId (pipelineId) {
|
||||
}
|
||||
|
||||
async function getCircleCIJobNumber (workflowId) {
|
||||
const jobInfoUrl = `https://circleci.com/api/v2/workflow/${workflowId}/jobs`
|
||||
const jobInfoUrl = `https://circleci.com/api/v2/workflow/${workflowId}/job`
|
||||
let jobNumber = 0
|
||||
while (jobNumber === 0) {
|
||||
const jobInfo = await circleCIRequest(jobInfoUrl, 'GET')
|
||||
|
||||
Reference in New Issue
Block a user