Skip to content

Force login shell in bash for uv installation #19

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Sep 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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