mirror of https://github.com/actions/toolkit
Update packages/artifact/src/internal/shared/config.ts
Co-authored-by: Konrad Pabjan <konradpabjan@github.com>pull/1486/head
parent
c6117995d3
commit
760f3fd3d1
|
@ -9,7 +9,7 @@ export function getRuntimeToken(): string {
|
||||||
export function getResultsServiceUrl(): string {
|
export function getResultsServiceUrl(): string {
|
||||||
const resultsUrl = process.env['ACTIONS_RESULTS_URL']
|
const resultsUrl = process.env['ACTIONS_RESULTS_URL']
|
||||||
if (!resultsUrl) {
|
if (!resultsUrl) {
|
||||||
throw new Error('Unable to get ACTIONS_RESULTS_URL env variable')
|
throw new Error('Unable to get the ACTIONS_RESULTS_URL env variable')
|
||||||
}
|
}
|
||||||
return resultsUrl
|
return resultsUrl
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue