Skip to content

Commit a54fa89

Browse files
committed
pin to uv v0.8.9 in action.yml
1 parent ef1d280 commit a54fa89

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

action.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)