apply the syntax

This commit is contained in:
yimysty
2022-08-04 17:04:26 -07:00
parent 35e615a00c
commit 7f629c4ce0
6 changed files with 5 additions and 8 deletions

3
dist/index.js vendored
View File

@@ -7057,7 +7057,6 @@ function getRequiredVars() {
buildVersion: process.env.GITHUB_SHA,
buildActor: process.env.GITHUB_ACTOR,
actionsId: process.env.GITHUB_ACTION,
githubApiUrl: process.env.GITHUB_API_URL ?? `https://api.github.com`,
githubToken: core.getInput('token'),
}
}
@@ -7106,7 +7105,7 @@ class Deployment {
this.workflowRun = context.workflowRun
this.requestedDeployment = false
this.deploymentInfo = null
this.githubApiUrl = context.githubApiUrl
this.githubApiUrl = process.env.GITHUB_API_URL ? process.env.GITHUB_API_URL : "https://api.github.com",
this.artifactName = core.getInput('artifact_name')
}

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@@ -7057,7 +7057,6 @@ function getRequiredVars() {
buildVersion: process.env.GITHUB_SHA,
buildActor: process.env.GITHUB_ACTOR,
actionsId: process.env.GITHUB_ACTION,
githubApiUrl: process.env.GITHUB_API_URL ?? `https://api.github.com`,
githubToken: core.getInput('token'),
}
}
@@ -7106,7 +7105,7 @@ class Deployment {
this.workflowRun = context.workflowRun
this.requestedDeployment = false
this.deploymentInfo = null
this.githubApiUrl = context.githubApiUrl
this.githubApiUrl = process.env.GITHUB_API_URL ? process.env.GITHUB_API_URL : "https://api.github.com",
this.artifactName = core.getInput('artifact_name')
}

File diff suppressed because one or more lines are too long

View File

@@ -10,7 +10,6 @@ function getRequiredVars() {
buildVersion: process.env.GITHUB_SHA,
buildActor: process.env.GITHUB_ACTOR,
actionsId: process.env.GITHUB_ACTION,
githubApiUrl: process.env.GITHUB_API_URL ?? `https://api.github.com`,
githubToken: core.getInput('token'),
}
}

View File

@@ -25,7 +25,7 @@ class Deployment {
this.workflowRun = context.workflowRun
this.requestedDeployment = false
this.deploymentInfo = null
this.githubApiUrl = context.githubApiUrl
this.githubApiUrl = process.env.GITHUB_API_URL ? process.env.GITHUB_API_URL : "https://api.github.com",
this.artifactName = core.getInput('artifact_name')
}