diff --git a/main.js b/main.js index 5d9a132..4791121 100644 --- a/main.js +++ b/main.js @@ -159,8 +159,7 @@ async function main() { await exec.exec("docker", [ "exec", container, - "bash", "-c", - "git config --global --add safe.directory ${PWD}" + "git", "config", "--global", "--add", "safe.directory", sourceDirectory ]) core.endGroup()