Skip to content

Commit 240524f

Browse files
Refactor installation logic
1 parent 8e39e95 commit 240524f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ runs:
2626
run: |
2727
installation_directory="${HOME}/.setup-python-amazon-linux/uv"
2828
echo "Installing uv.. installation_directory=${installation_directory}"
29-
curl -LsSf https://astral.sh/uv/install.sh | env UV_UNMANAGED_INSTALL="${installation_directory}" sh
29+
uv_version="0.5.1"
30+
curl -LsSf "https://github.com/astral-sh/uv/releases/download/${uv_version}/uv-installer.sh" | UV_UNMANAGED_INSTALL="${installation_directory}" bash --login
3031
echo "${installation_directory}" >> "${GITHUB_PATH}"
3132
3233
- name: Find desired python version

0 commit comments

Comments
 (0)