mirror of https://github.com/actions/toolkit
Variable renaming
parent
3ee6b4b169
commit
a3d4efa112
|
@ -7,11 +7,11 @@ export function getRuntimeToken(): string {
|
|||
}
|
||||
|
||||
export function getResultsServiceUrl(): string {
|
||||
const workFlowRunId = process.env['ACTIONS_RESULTS_URL']
|
||||
if (!workFlowRunId) {
|
||||
const resultsUrl = process.env['ACTIONS_RESULTS_URL']
|
||||
if (!resultsUrl) {
|
||||
throw new Error('Unable to get the ACTIONS_RESULTS_URL environment variable which is required')
|
||||
}
|
||||
return workFlowRunId
|
||||
return resultsUrl
|
||||
}
|
||||
|
||||
export function getWorkFlowRunId(): string {
|
||||
|
|
|
@ -5,7 +5,7 @@ export interface UploadResponse {
|
|||
artifactName: string
|
||||
|
||||
/**
|
||||
* Total size of the artifact in bytes that was uploaded
|
||||
* Total size of the artifact that was uploaded in bytes
|
||||
*/
|
||||
size: number
|
||||
}
|
Loading…
Reference in New Issue