Skip to content

Commit f3b8f28

Browse files
Handle HOME variable (#24)
1 parent 415cf38 commit f3b8f28

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
@@ -27,7 +27,8 @@ runs:
2727
installation_directory="${{ github.action_path }}/.setup-python-amazon-linux/uv"
2828
echo "Installing uv.. installation_directory=${installation_directory}"
2929
uv_version="0.7.10"
30-
curl -LsSf "https://github.com/astral-sh/uv/releases/download/${uv_version}/uv-installer.sh" | UV_UNMANAGED_INSTALL="${installation_directory}" bash --login
30+
# HOME is set to foobar till this is resolved https://github.com/astral-sh/uv/issues/6965#issuecomment-2915796022
31+
curl -LsSf "https://github.com/astral-sh/uv/releases/download/${uv_version}/uv-installer.sh" | HOME="foobar" UV_UNMANAGED_INSTALL="${installation_directory}" bash --login
3132
echo "${installation_directory}" >> "${GITHUB_PATH}"
3233
3334
- name: Find desired python version

0 commit comments

Comments
 (0)