mirror of
https://github.com/pnpm/action-setup.git
synced 2025-07-19 22:19:37 +08:00
feat: add version_file_path option
Using the same logic as `actions/setup-node`, we can support `asdf`, `volta` or other version management techniques.
This commit is contained in:
@ -7,6 +7,9 @@ inputs:
|
||||
version:
|
||||
description: Version of pnpm to install
|
||||
required: false
|
||||
version_file_path:
|
||||
description: "Path to a version file. Eg: '.tool-versions' for asdf or 'package.json' for volta"
|
||||
required: false
|
||||
dest:
|
||||
description: Where to store pnpm files
|
||||
required: false
|
||||
|
Reference in New Issue
Block a user