fix: read version from package json
This commit is contained in:
parent
e900e6b108
commit
e8e1d188cb
@ -31,7 +31,7 @@ function readVersionFromPackageJson(): string | undefined {
|
|||||||
}
|
}
|
||||||
|
|
||||||
runAction({
|
runAction({
|
||||||
version: getInput("bun-version") || readVersionFromPackageJson() || undefined,
|
version: readVersionFromPackageJson() || getInput("bun-version") || undefined,
|
||||||
customUrl: getInput("bun-download-url") || undefined,
|
customUrl: getInput("bun-download-url") || undefined,
|
||||||
registryUrl: getInput("registry-url") || undefined,
|
registryUrl: getInput("registry-url") || undefined,
|
||||||
scope: getInput("scope") || undefined,
|
scope: getInput("scope") || undefined,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user