From c374ef2b15989b8cb21838317b3b968e2293a84d Mon Sep 17 00:00:00 2001 From: Kishan B Date: Mon, 2 Sep 2024 19:48:44 +0530 Subject: [PATCH] Use login shell for installing uv --- action.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 7afe91a..8b1e135 100644 --- a/action.yml +++ b/action.yml @@ -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. @@ -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