add feature to copy toolPath to node-installation-path

This commit is contained in:
CNOCTAVE 2025-01-06 12:45:17 +08:00
parent 48b90677b6
commit 3ea0cefd51
3 changed files with 1767 additions and 1718 deletions

View File

@ -76,6 +76,10 @@ See [action.yml](action.yml)
# Set always-auth option in npmrc file.
# Default: ''
always-auth: ''
# Set node installation path.
# Default: ''
node-installation-path: ''
```
<!-- end usage -->

View File

@ -25,6 +25,8 @@ 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.'
node-installation-path:
description: 'Set node installation path.'
# 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:

3479
dist/setup/index.js vendored

File diff suppressed because it is too large Load Diff