Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update to use build instead of setup.py
Browse files Browse the repository at this point in the history
rxu17 committed Feb 14, 2024
1 parent 0379cac commit abecbe0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -57,7 +57,7 @@ jobs:
- uses: actions/checkout@v2
- uses: psf/black@stable

build:
build-dist:
needs: [test, lint]
runs-on: ubuntu-latest
steps:
@@ -69,13 +69,12 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install setuptools wheel build
- name: Build distributions
run: |
python setup.py sdist bdist_wheel
run: python -m build

publish:
needs: [test, lint, build]
needs: [test, lint, build-dist]
runs-on: ubuntu-latest
permissions:
id-token: write

0 comments on commit abecbe0

Please sign in to comment.