Fix artifact name defaulting behavior

This commit is contained in:
James M. Greene
2022-11-16 11:22:49 -06:00
parent a9645ed88d
commit 9b641caa4a
3 changed files with 3 additions and 3 deletions

2
dist/index.js vendored
View File

@@ -6909,7 +6909,7 @@ function getRequiredVars() {
actionsId: process.env.GITHUB_ACTION,
githubToken: core.getInput('token'),
githubApiUrl: process.env.GITHUB_API_URL ?? 'https://api.github.com',
artifactName: core.getInput('artifact_name') ?? 'github-pages',
artifactName: core.getInput('artifact_name') || 'github-pages',
isPreview: core.getInput('preview') === 'true'
}
}

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@@ -12,7 +12,7 @@ function getRequiredVars() {
actionsId: process.env.GITHUB_ACTION,
githubToken: core.getInput('token'),
githubApiUrl: process.env.GITHUB_API_URL ?? 'https://api.github.com',
artifactName: core.getInput('artifact_name') ?? 'github-pages',
artifactName: core.getInput('artifact_name') || 'github-pages',
isPreview: core.getInput('preview') === 'true'
}
}