File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -292,6 +292,7 @@ runs:
292292 shell : nu {0}
293293 env :
294294 UV_NO_MODIFY_PATH : 1
295+ UV_VERSION : ' 0.8.9'
295296 run : |-
296297 let action_path = $env.GITHUB_ACTION_PATH | path expand
297298 $env.UV_INSTALL_DIR = $action_path | path join 'bin'
@@ -303,9 +304,9 @@ runs:
303304 }
304305
305306 if ((sys host | get 'name') == 'Windows') {
306- ^powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/0.8.9 /install.ps1 | iex"
307+ ^powershell -ExecutionPolicy ByPass -c $ "irm https://astral.sh/uv/($env.UV_VERSION) /install.ps1 | iex"
307308 } else {
308- ^curl -LsSf https://astral.sh/uv/install.sh | sh
309+ ^curl -LsSf $" https://astral.sh/uv/($env.UV_VERSION)/ install.sh" | sh
309310 }
310311
311312 ^$'($env.UV_INSTALL_DIR)/uv' sync --directory $action_path --group action
You can’t perform that action at this time.
0 commit comments