main: provide default input values
This commit is contained in:
parent
7c68f31a28
commit
8164ce3d66
4
main.js
4
main.js
|
@ -22,8 +22,8 @@ async function getOS(distribution) {
|
|||
|
||||
async function main() {
|
||||
try {
|
||||
const sourceRelativeDirectory = core.getInput("source_directory")
|
||||
const artifactsRelativeDirectory = core.getInput("artifacts_directory")
|
||||
const sourceRelativeDirectory = core.getInput("source_directory") || "./"
|
||||
const artifactsRelativeDirectory = core.getInput("artifacts_directory") || "./"
|
||||
|
||||
const workspaceDirectory = process.cwd()
|
||||
const sourceDirectory = path.join(workspaceDirectory, sourceRelativeDirectory)
|
||||
|
|
Loading…
Reference in a new issue