From 2944a4743f90b56e8a6a449e43d666e944f3efe1 Mon Sep 17 00:00:00 2001 From: Charles Stern <62192187+cisaacstern@users.noreply.github.com> Date: Tue, 19 Sep 2023 15:01:26 -0400 Subject: [PATCH] use pypa-build in release.yaml --- .github/workflows/release.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index da4c2781..e334c3cb 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -17,13 +17,12 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install --upgrade setuptools setuptools-scm wheel twine toml + python -m pip install --upgrade setuptools setuptools-scm build - name: Build and publish env: TWINE_USERNAME: "__token__" TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} run: | - python setup.py sdist bdist_wheel - python setup.py --version + python -m build twine check dist/* twine upload dist/*