mirror of
https://github.com/actions/checkout.git
synced 2026-11-17 07:14:59 +08:00
fix: fix adding safe-directory in container
This commit is contained in:
parent
0c366fd6a8
commit
a0eb51f8ea
5 changed files with 47 additions and 17 deletions
|
|
@ -14,6 +14,7 @@ export async function getInputs(): Promise<IGitSourceSettings> {
|
|||
throw new Error('GITHUB_WORKSPACE not defined')
|
||||
}
|
||||
githubWorkspacePath = path.resolve(githubWorkspacePath)
|
||||
result.githubWorkspacePath = githubWorkspacePath
|
||||
core.debug(`GITHUB_WORKSPACE = '${githubWorkspacePath}'`)
|
||||
fsHelper.directoryExistsSync(githubWorkspacePath, true)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue