Support relative workdir inputs

After chdir() get full path with cwd()
This commit is contained in:
Michal Dorner
2021-01-14 21:13:43 +01:00
parent b28f91cc2e
commit 6f32e41222

View File

@@ -29,7 +29,7 @@ async function main(): Promise<void> {
process.chdir(workDirInput)
}
const workDir = normalizeDirPath(workDirInput || process.cwd(), true)
const workDir = normalizeDirPath(process.cwd(), true)
const octokit = github.getOctokit(token)
const sha = getCheckRunSha()