From 415cf38c36bbd9ba15466e8e933566e57f895030 Mon Sep 17 00:00:00 2001 From: Kishan B Date: Wed, 4 Jun 2025 13:16:05 +0530 Subject: [PATCH 1/3] Remove $HOME reference (#23) --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index feb4417..7c61721 100644 --- a/action.yml +++ b/action.yml @@ -24,9 +24,9 @@ runs: - name: Install uv shell: bash run: | - installation_directory="${HOME}/.setup-python-amazon-linux/uv" + installation_directory="${{ github.action_path }}/.setup-python-amazon-linux/uv" echo "Installing uv.. installation_directory=${installation_directory}" - uv_version="0.5.11" + uv_version="0.7.10" curl -LsSf "https://github.com/astral-sh/uv/releases/download/${uv_version}/uv-installer.sh" | UV_UNMANAGED_INSTALL="${installation_directory}" bash --login echo "${installation_directory}" >> "${GITHUB_PATH}" From f3b8f284fed9acb06894fc475fffd6d035ae51f3 Mon Sep 17 00:00:00 2001 From: Kishan B Date: Wed, 4 Jun 2025 15:30:31 +0530 Subject: [PATCH 2/3] Handle HOME variable (#24) --- action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 7c61721..f7a275a 100644 --- a/action.yml +++ b/action.yml @@ -27,7 +27,8 @@ runs: installation_directory="${{ github.action_path }}/.setup-python-amazon-linux/uv" echo "Installing uv.. installation_directory=${installation_directory}" uv_version="0.7.10" - curl -LsSf "https://github.com/astral-sh/uv/releases/download/${uv_version}/uv-installer.sh" | UV_UNMANAGED_INSTALL="${installation_directory}" bash --login + # HOME is set to foobar till this is resolved https://github.com/astral-sh/uv/issues/6965#issuecomment-2915796022 + curl -LsSf "https://github.com/astral-sh/uv/releases/download/${uv_version}/uv-installer.sh" | HOME="foobar" UV_UNMANAGED_INSTALL="${installation_directory}" bash --login echo "${installation_directory}" >> "${GITHUB_PATH}" - name: Find desired python version From 63dc7bd642c6a564d0a93dd4b1cbe3e448ce3621 Mon Sep 17 00:00:00 2001 From: Kishan B Date: Fri, 19 Sep 2025 21:09:22 +0530 Subject: [PATCH 3/3] Upgrade uv to 0.8.18 version (#27) --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index f7a275a..3073d93 100644 --- a/action.yml +++ b/action.yml @@ -26,7 +26,7 @@ runs: run: | installation_directory="${{ github.action_path }}/.setup-python-amazon-linux/uv" echo "Installing uv.. installation_directory=${installation_directory}" - uv_version="0.7.10" + uv_version="0.8.18" # HOME is set to foobar till this is resolved https://github.com/astral-sh/uv/issues/6965#issuecomment-2915796022 curl -LsSf "https://github.com/astral-sh/uv/releases/download/${uv_version}/uv-installer.sh" | HOME="foobar" UV_UNMANAGED_INSTALL="${installation_directory}" bash --login echo "${installation_directory}" >> "${GITHUB_PATH}"