diff options
author | Hynek Schlawack <hs@ox.cx> | 2020-11-25 09:53:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-25 09:53:37 +0100 |
commit | 1e0e5664fb007cb8d22c5eb440468a2e252993ee (patch) | |
tree | 6a831660457349b533e31780c5a05fa2565d03e8 | |
parent | 108c792ec8e8b6446e835b33a39f416b2cd1734d (diff) | |
download | attrs-1e0e5664fb007cb8d22c5eb440468a2e252993ee.tar.gz |
Use "official" build & check-wheel-contents (#721)
-rw-r--r-- | .github/workflows/main.yml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9d25364..2857df1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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/*" |