Skip to content

Commit 46d057b

Browse files
Merge pull request #19 from kishaningithub/fix-home-dependency
Force login shell in bash for uv installation
2 parents a1de86d + c374ef2 commit 46d057b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

action.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ inputs:
77
description: 'Version of python to be installed'
88
default: '.python-version'
99
cache:
10-
description: >
10+
description: >
1111
[Deprecated] Used to specify whether caching is needed. Set to true, if you'd like to enable caching.
1212
Current implementation uses uv which pulls in pre-compiled binaries of python thereby eliminating the
1313
need to cache compiled python artifacts.
@@ -24,7 +24,8 @@ runs:
2424
- name: Install uv
2525
shell: bash
2626
run: |
27-
curl -LsSf https://astral.sh/uv/install.sh | bash
27+
echo "Installing uv.. HOME=${HOME}"
28+
curl -LsSf https://astral.sh/uv/install.sh | bash --login
2829
2930
- name: Find desired python version
3031
id: find-desired-python-version

0 commit comments

Comments
 (0)