MCPcopy
hub / github.com/ampproject/amphtml / ciBuildId

Function ciBuildId

build-system/common/ci.js:137–143  ·  view source on GitHub ↗

* Returns the ID of the current build. * @return {string}

()

Source from the content-addressed store, hash-verified

135 * @return {string}
136 */
137function ciBuildId() {
138 return isGithubActions
139 ? env('GITHUB_RUN_ID')
140 : isCircleci
141 ? env('CIRCLE_WORKFLOW_ID')
142 : '';
143}
144
145/**
146 * Returns the URL of the current build.

Callers

nothing calls this directly

Calls 1

envFunction · 0.70

Tested by

no test coverage detected