From dc406c726d56e55dab65060b0e80daa00d3ab534 Mon Sep 17 00:00:00 2001 From: Kevin Le Date: Wed, 6 Mar 2024 10:09:27 -0800 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 19e9711..92c23db 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,9 +17,22 @@ jobs: id-token: write steps: - - name: Build a binary wheel + - uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.x' + + - name: Install pypa/build run: >- - python setup.py sdist bdist_wheel + python3 -m + pip install + build + --user + + - name: Build a binary wheel and a source tarball + run: python3 -m build - name: Publish distribution 📦 to PyPI uses: pypa/gh-action-pypi-publish@release/v1