mirror of
https://code.forgejo.org/actions/checkout.git
synced 2024-12-24 13:50:01 +01:00
fix input name (workingDirectory -> working-directory)
This commit is contained in:
parent
b0635286c5
commit
b2811239ce
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue