mirror of
https://github.com/actions/setup-node.git
synced 2025-01-22 16:29:43 +08:00
add feature to copy toolPath to node-installation-path
This commit is contained in:
parent
48b90677b6
commit
3ea0cefd51
|
@ -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 -->
|
||||
|
||||
|
|
|
@ -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
3479
dist/setup/index.js
vendored
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user