This commit is contained in:
Konrad Pabjan
2023-10-27 16:49:22 -04:00
parent ce81cfb969
commit 2196d013ad
4 changed files with 5 additions and 5 deletions

4
dist/index.js generated vendored
View File

@@ -9876,7 +9876,7 @@ async function getArtifactMetadata({ githubToken, runId, artifactName }) {
const response = await octokit.request('GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts', {
owner: github.context.repo.owner,
repo: github.context.repo.repo,
runId: runId
run_id: runId
})
return response.data
@@ -10116,7 +10116,7 @@ class Deployment {
core.info("Getting artifact's metadata...")
const artifactData = await getArtifactMetadata({
githubToken: this.githubToken,
workflowRunId: this.workflowRun,
runId: this.workflowRun,
artifactName: this.artifactName
})

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@@ -65,7 +65,7 @@ async function getArtifactMetadata({ githubToken, runId, artifactName }) {
const response = await octokit.request('GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts', {
owner: github.context.repo.owner,
repo: github.context.repo.repo,
runId: runId
run_id: runId
})
return response.data

View File

@@ -61,7 +61,7 @@ class Deployment {
core.info("Getting artifact's metadata...")
const artifactData = await getArtifactMetadata({
githubToken: this.githubToken,
workflowRunId: this.workflowRun,
runId: this.workflowRun,
artifactName: this.artifactName
})