Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

publish wheels #1553

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions .github/workflows/python-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build:
name: Build source distribution
name: Build distributions
runs-on: ubuntu-24.04
environment: release

Expand All @@ -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:
Expand Down