diff --git a/packages/artifact/src/internal/config.ts b/packages/artifact/src/internal/config.ts index f7199665..c17aeb44 100644 --- a/packages/artifact/src/internal/config.ts +++ b/packages/artifact/src/internal/config.ts @@ -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 { diff --git a/packages/artifact/src/internal/upload/upload-response.ts b/packages/artifact/src/internal/upload/upload-response.ts index d20d2ba2..d49af892 100644 --- a/packages/artifact/src/internal/upload/upload-response.ts +++ b/packages/artifact/src/internal/upload/upload-response.ts @@ -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 } \ No newline at end of file