Add project-dir

This commit is contained in:
Sergey Dolin 2023-04-10 16:52:10 +02:00
parent 5b32c9063c
commit 318f863611
4 changed files with 71 additions and 14 deletions

View file

@ -25,7 +25,9 @@ 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.'
# TODO: add input to control forcing to pull from cloud or dist.
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:
cache-hit: