mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-18 04:28:28 +02:00
fix: read version from package json
This commit is contained in:
parent
e900e6b108
commit
e8e1d188cb
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ function readVersionFromPackageJson(): string | undefined {
|
|||
}
|
||||
|
||||
runAction({
|
||||
version: getInput("bun-version") || readVersionFromPackageJson() || undefined,
|
||||
version: readVersionFromPackageJson() || getInput("bun-version") || undefined,
|
||||
customUrl: getInput("bun-download-url") || undefined,
|
||||
registryUrl: getInput("registry-url") || undefined,
|
||||
scope: getInput("scope") || undefined,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue