From 71a7f3bb74751073610c47b4bd8faa4ba105aa24 Mon Sep 17 00:00:00 2001 From: David Hotham Date: Fri, 6 Dec 2024 22:11:24 +0000 Subject: [PATCH] publish wheels --- .github/workflows/python-release.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python-release.yml b/.github/workflows/python-release.yml index eb62b8d26..59639b75c 100644 --- a/.github/workflows/python-release.yml +++ b/.github/workflows/python-release.yml @@ -7,7 +7,7 @@ on: jobs: build: - name: Build source distribution + name: Build distributions runs-on: ubuntu-24.04 environment: release @@ -23,23 +23,22 @@ jobs: run: | cd python python -m pip install --upgrade pip - python -m pip install -r requirements.txt . - python -m pip install -r requirements-dev.txt . + python -m pip install -r requirements-dev.txt - - name: Install setuptools + - name: Install build run: | cd python - python -m pip install setuptools + python -m pip install build - name: Regen openapi libs run: | cd python ./scripts/generate_openapi.sh - - name: Build sdist + - name: Build distributions run: | cd python - python setup.py sdist + python -m build - uses: pypa/gh-action-pypi-publish@release/v1 with: