Skip to content

Commit

Permalink
Refactor installation logic
Browse files Browse the repository at this point in the history
  • Loading branch information
kishaningithub committed Nov 11, 2024
1 parent 8e39e95 commit 240524f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ runs:
run: |
installation_directory="${HOME}/.setup-python-amazon-linux/uv"
echo "Installing uv.. installation_directory=${installation_directory}"
curl -LsSf https://astral.sh/uv/install.sh | env UV_UNMANAGED_INSTALL="${installation_directory}" sh
uv_version="0.5.1"
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}"
- name: Find desired python version
Expand Down

0 comments on commit 240524f

Please sign in to comment.