1
0
Fork 0

Variable renaming

artifact-next
Konrad Pabjan 2023-08-01 12:21:08 -04:00
parent 3ee6b4b169
commit a3d4efa112
2 changed files with 4 additions and 4 deletions

View File

@ -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 {

View File

@ -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
}