Skip to content

Commit

Permalink
Use login shell for installing uv
Browse files Browse the repository at this point in the history
  • Loading branch information
kishaningithub committed Sep 2, 2024
1 parent a1de86d commit c374ef2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ inputs:
description: 'Version of python to be installed'
default: '.python-version'
cache:
description: >
description: >
[Deprecated] Used to specify whether caching is needed. Set to true, if you'd like to enable caching.
Current implementation uses uv which pulls in pre-compiled binaries of python thereby eliminating the
need to cache compiled python artifacts.
Expand All @@ -24,7 +24,8 @@ runs:
- name: Install uv
shell: bash
run: |
curl -LsSf https://astral.sh/uv/install.sh | bash
echo "Installing uv.. HOME=${HOME}"
curl -LsSf https://astral.sh/uv/install.sh | bash --login
- name: Find desired python version
id: find-desired-python-version
Expand Down

0 comments on commit c374ef2

Please sign in to comment.