From 1d0a31f085836250751e7f1e90b49f61d4a25d2f Mon Sep 17 00:00:00 2001 From: Saransh Chopra Date: Fri, 17 Jan 2025 13:53:19 +0000 Subject: [PATCH] gh-464: simplify release infrastructure --- .github/workflows/release.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8d9af98b..4f6f156a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,16 +36,7 @@ jobs: # store the tag since the git checkout is now dirty echo "SETUPTOOLS_SCM_PRETEND_VERSION=${tag}" >> "$GITHUB_ENV" - - name: Build SDist and wheel - run: pipx run build - - - name: Check metadata - run: pipx run twine check dist/* - - - name: Upload distributions - uses: actions/upload-artifact@v4 - with: - path: dist/* + - uses: hynek/build-and-inspect-python-package@v2 publish: needs: dist @@ -67,7 +58,7 @@ jobs: - name: Download distributions uses: actions/download-artifact@v4 with: - name: artifact + name: Packages path: dist - name: List distributions to be deployed