Skip to content

Commit

Permalink
Merge pull request #115 from WenjieDu/dev
Browse files Browse the repository at this point in the history
Use `setup` instead of `build` to build release
  • Loading branch information
WenjieDu authored May 17, 2023
2 parents 6d7000f + 945e946 commit e520dde
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/publish_to_PyPI.yml
Original file line number Diff line number Diff line change
@@ -10,6 +10,10 @@
name: Publish to PyPI

on:
push:
branches:
- release

release:
types: [published]

@@ -46,7 +50,8 @@ jobs:
pip list
- name: Build package
run: python -m build
run: |
python setup.py sdist bdist_wheel
- name: Publish the new package to PyPI
uses: pypa/[email protected]

0 comments on commit e520dde

Please sign in to comment.