mirror of
https://github.com/astral-sh/setup-uv.git
synced 2026-04-14 05:54:46 +00:00
Add resolution-strategy input to support oldest compatible version selection (#631)
Adds a new `resolution-strategy` input that allows users to choose between installing the highest (default) or lowest compatible version when resolving version ranges.
This commit is contained in:
parent
a5129e99f4
commit
9c6b5e9fb5
8 changed files with 136 additions and 11 deletions
|
|
@ -77,6 +77,9 @@ inputs:
|
|||
add-problem-matchers:
|
||||
description: "Add problem matchers."
|
||||
default: "true"
|
||||
resolution-strategy:
|
||||
description: "Resolution strategy to use when resolving version ranges. 'highest' uses the latest compatible version, 'lowest' uses the oldest compatible version."
|
||||
default: "highest"
|
||||
outputs:
|
||||
uv-version:
|
||||
description: "The installed uv version. Useful when using latest."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue