Skip to content

Commit

Permalink
Merge pull request #21 from kishaningithub/use-unmanaged-installation
Browse files Browse the repository at this point in the history
Use unmanaged uv installation
  • Loading branch information
kishaningithub authored Nov 11, 2024
2 parents 46d057b + 240524f commit 7fedfd6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@ runs:
- name: Install uv
shell: bash
run: |
echo "Installing uv.. HOME=${HOME}"
curl -LsSf https://astral.sh/uv/install.sh | bash --login
installation_directory="${HOME}/.setup-python-amazon-linux/uv"
echo "Installing uv.. installation_directory=${installation_directory}"
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
id: find-desired-python-version
Expand Down

0 comments on commit 7fedfd6

Please sign in to comment.