Skip to content

Commit

Permalink
Use "official" build & check-wheel-contents (#721)
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Nov 25, 2020
1 parent 108c792 commit 1e0e566
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/main.yml
Expand Up @@ -64,12 +64,14 @@ jobs:
with:
python-version: "3.9"

- name: "Install pep517 and twine"
run: "python -m pip install pep517 twine"
- name: "Install build, check-wheel-content, and twine"
run: "python -m pip install build twine check-wheel-contents"
- name: "Build package"
run: "python -m pep517.build --source --binary ."
run: "python -m build --sdist --wheel ."
- name: "List result"
run: "ls -l dist"
- name: "Check wheel contents"
run: "check-wheel-contents dist/*.whl"
- name: "Check long_description"
run: "python -m twine check dist/*"

Expand Down

0 comments on commit 1e0e566

Please sign in to comment.