Update index.ts

This commit is contained in:
Jozef Steinhübl 2023-11-26 23:34:23 +01:00 committed by GitHub
parent 2d281ea3fa
commit b38767920d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,7 @@ function readVersionFromPackageJson(): string | undefined {
}
runAction({
version: readVersionFromPackageJson() || getInput("bun-version") || undefined,
version: getInput("bun-version") || readVersionFromPackageJson() || undefined,
customUrl: getInput("bun-download-url") || undefined,
registryUrl: getInput("registry-url") || undefined,
scope: getInput("scope") || undefined,