Skip to content

Commit

Permalink
Install hatch with global python (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 authored Dec 16, 2023
1 parent 45e603c commit 512a51d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/actions/base-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,11 @@ runs:
set -eux
echo "::group::Upgrade packaging dependencies"
python -m pip install --upgrade pip
pipx install hatch
if [ "$RUNNER_OS" != "Windows"]; then
pipx install hatch --python $(which python)
else
pipx install hatch
fi
echo "::endgroup::"
- name: Handle dependency type
Expand Down

0 comments on commit 512a51d

Please sign in to comment.