fix input name (workingDirectory -> working-directory)
This commit is contained in:
parent
c51e56cd7a
commit
a0ec92ce0c
|
@ -9,7 +9,7 @@ export async function getInputs(): Promise<IGitSourceSettings> {
|
||||||
const result = ({} as unknown) as IGitSourceSettings
|
const result = ({} as unknown) as IGitSourceSettings
|
||||||
|
|
||||||
// Working directory
|
// Working directory
|
||||||
let workingDirectory = core.getInput('workingDirectory') || process.env['GITHUB_WORKSPACE']
|
let workingDirectory = core.getInput('working-directory') || process.env['GITHUB_WORKSPACE']
|
||||||
if (!workingDirectory) {
|
if (!workingDirectory) {
|
||||||
throw new Error('working dir not defined')
|
throw new Error('working dir not defined')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue