diff --git a/package.json b/package.json index 74498f1..dc52818 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pullfrog", - "version": "0.0.196", + "version": "0.0.197", "type": "module", "bin": { "pullfrog": "dist/cli.mjs", diff --git a/runCli.ts b/runCli.ts index ccac852..eff073d 100644 --- a/runCli.ts +++ b/runCli.ts @@ -44,7 +44,7 @@ function runNpx(context: RuntimeContext, packageSpec: string, cliArgs: string[]) ? join(context.nodeBinDir, "npx.cmd") : join(context.nodeBinDir, "npx"); execFileSync(npxPath, ["--yes", packageSpec, ...cliArgs], { - cwd: context.actionRoot, + cwd: process.env.GITHUB_WORKSPACE || context.actionRoot, stdio: "inherit", env: context.env, });