Skip to content

Commit

Permalink
publish wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
dimbleby committed Dec 6, 2024
1 parent efff8b0 commit d784e3a
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 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,21 @@ 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 .
- 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

0 comments on commit d784e3a

Please sign in to comment.