Skip to content

Commit

Permalink
Revert "Use hatch install action" (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 authored Jun 4, 2024
1 parent 43eff4a commit 9b3f545
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/actions/base-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,17 @@ runs:
run: Set-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem -Name LongPathsEnabled -Value 1
shell: pwsh

- name: Install Hatch
uses: pypa/hatch@install

- name: Upgrade pip
- name: Upgrade packaging dependencies
shell: bash
run: |
set -eux
echo "::group::Upgrade pip"
echo "::group::Upgrade packaging dependencies"
python -m pip install --upgrade pip
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 9b3f545

Please sign in to comment.