diff --git a/action.yml b/action.yml index 9e73a295..56025a40 100644 --- a/action.yml +++ b/action.yml @@ -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: diff --git a/src/cache-utils.ts b/src/cache-utils.ts index 5d54cee6..38ea11e5 100644 --- a/src/cache-utils.ts +++ b/src/cache-utils.ts @@ -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') {