diff --git a/.github/workflows/pypi-build-test.yml b/.github/workflows/pypi-build-test.yml index bb4a0b1..4addd04 100644 --- a/.github/workflows/pypi-build-test.yml +++ b/.github/workflows/pypi-build-test.yml @@ -46,20 +46,20 @@ jobs: with: python-version: 3.7 - - name: Install pep517 + - name: Install pypa/build run: >- python -m pip install - pep517 + build --user - name: Build a binary wheel and a source tarball run: >- python -m - pep517.build - --source - --binary - --out-dir dist/ + build + --sdist + --wheel + --outdir dist/ . - name: Upload distribution artifact for other jobs diff --git a/.github/workflows/pypi-publish-release.yml b/.github/workflows/pypi-publish-release.yml index 0aab2f9..757a497 100644 --- a/.github/workflows/pypi-publish-release.yml +++ b/.github/workflows/pypi-publish-release.yml @@ -17,20 +17,20 @@ jobs: with: python-version: 3.7 - - name: Install pep517 + - name: Install pypa/build run: >- python -m pip install - pep517 + build --user - name: Build a binary wheel and a source tarball run: >- python -m - pep517.build - --source - --binary - --out-dir dist/ + build + --sdist + --wheel + --outdir dist/ . - name: Upload distribution artifact for other jobs