Skip to content

Commit 7fedfd6

Browse files
Merge pull request #21 from kishaningithub/use-unmanaged-installation
Use unmanaged uv installation
2 parents 46d057b + 240524f commit 7fedfd6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

action.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,11 @@ runs:
2424
- name: Install uv
2525
shell: bash
2626
run: |
27-
echo "Installing uv.. HOME=${HOME}"
28-
curl -LsSf https://astral.sh/uv/install.sh | bash --login
27+
installation_directory="${HOME}/.setup-python-amazon-linux/uv"
28+
echo "Installing uv.. installation_directory=${installation_directory}"
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
31+
echo "${installation_directory}" >> "${GITHUB_PATH}"
2932
3033
- name: Find desired python version
3134
id: find-desired-python-version

0 commit comments

Comments
 (0)