Skip to content

Commit

Permalink
Build package with python3 -m build
Browse files Browse the repository at this point in the history
  • Loading branch information
marinak-ebi committed Oct 30, 2024
1 parent 70a1b29 commit d00b79a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Upload Python Package to PyPI when a Release is Created
on:
release:
types: [created]
push:
branches:
- simplify-build

jobs:
pypi-publish:
Expand All @@ -22,9 +25,9 @@ jobs:
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
pip install setuptools wheel
pip install build
- name: Build package
run: |
python3 setup.py sdist bdist_wheel
python3 -m build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit d00b79a

Please sign in to comment.