Skip to content

Commit

Permalink
Simplify by using 'pipx run' where applicable
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelm committed Dec 26, 2021
1 parent 0e29f9e commit a1e7574
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,8 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Install dependencies
run: python -m pip install build
- name: Build temporary sdist and wheel
run: python -m build
run: pipx run build

test:
timeout-minutes: 10
Expand Down Expand Up @@ -85,8 +83,7 @@ jobs:
python-version: 3.7
- name: Make sdist
run: |
python -m pip install build
python -m build --sdist
pipx run build --sdist
ls -l dist/
- name: Publish dev release to test PyPI
if: contains(github.ref, '.dev')
Expand Down

0 comments on commit a1e7574

Please sign in to comment.