Remove package-dir input

This commit is contained in:
Sergey Dolin 2023-04-13 09:19:36 +02:00
parent 086599f868
commit 3fa1d09fcc
2 changed files with 0 additions and 6 deletions

View file

@ -25,8 +25,6 @@ inputs:
description: 'Used to specify a package manager for caching in the default directory. Supported values: npm, yarn, pnpm.'
cache-dependency-path:
description: 'Used to specify the path to a dependency file: package-lock.json, yarn.lock, etc. Supports wildcards or a list of file names for caching multiple dependencies.'
project-dir:
description: 'Optional path used as a current working directory during executing package manager commands. Important if project directory is not the same as root.'
# TODO: add input to control forcing to pull from cloud or dist.
# escape valve for someone having issues or needing the absolute latest which isn't cached yet
outputs:

View file

@ -52,10 +52,6 @@ export const getCommandOutput = async (
};
export const getPackageManagerWorkingDir = (): string | null => {
const projectDir = core.getInput('project-dir');
if (projectDir) {
return projectDir;
}
const cache = core.getInput('cache');
if (cache !== 'yarn') {