We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e79d55c commit 36e865dCopy full SHA for 36e865d
actions/get-package-manager/action.yml
@@ -90,7 +90,10 @@ runs:
90
core.debug(`Package manager from lock files: ${packageManagerName}`);
91
}
92
93
- const relativeWorkingDirectory = path.relative(process.env.GITHUB_WORKSPACE, workingDirectory) || '.';
+ let relativeWorkingDirectory = path.relative(process.env.GITHUB_WORKSPACE, workingDirectory) || '.';
94
+ if (relativeWorkingDirectory.startsWith('../')) {
95
+ relativeWorkingDirectory = path.resolve(workingDirectory);
96
+ }
97
98
const packageManagerConfig = {
99
yarn: {
0 commit comments