diff --git a/.github/actions/base-setup/action.yml b/.github/actions/base-setup/action.yml index 3dd8d9b..9624990 100644 --- a/.github/actions/base-setup/action.yml +++ b/.github/actions/base-setup/action.yml @@ -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