mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-14 08:28:07 +08:00
Variable renaming
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user