Skip to content

Commit

Permalink
Merge pull request #19 from kishaningithub/fix-home-dependency
Browse files Browse the repository at this point in the history
Force login shell in bash for uv installation
  • Loading branch information
kishaningithub authored Sep 2, 2024
2 parents a1de86d + c374ef2 commit 46d057b
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 46d057b

Please sign in to comment.