1
0
Fork 0
mirror of https://code.forgejo.org/actions/checkout.git synced 2024-12-23 20:50:02 +01:00

fix input name (workingDirectory -> working-directory)

This commit is contained in:
Marco Accorinti 2023-09-19 18:35:24 +02:00
parent b0635286c5
commit b2811239ce

View file

@ -9,7 +9,7 @@ export async function getInputs(): Promise<IGitSourceSettings> {
const result = {} as unknown as IGitSourceSettings
// Working directory
let workingDirectory = core.getInput('workingDirectory') || process.env['GITHUB_WORKSPACE']
let workingDirectory = core.getInput('working-directory') || process.env['GITHUB_WORKSPACE']
if (!workingDirectory) {
throw new Error('working dir not defined')
}