-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: fix publish workflow to not use setup.py anymore
- Loading branch information
1 parent
7a992c9
commit b7747ac
Showing
2 changed files
with
3 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,15 +16,13 @@ jobs: | |
- name: setup publish env | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install setuptools | ||
python -m pip install wheel | ||
python -m pip install twine | ||
python -m pip install setuptools wheel build twine | ||
- name: build and publish | ||
env: | ||
TWINE_USERNAME: ${{ secrets.PYPI_USER }} | ||
TWINE_PASSWORD: ${{ secrets.PYPI_PASS }} | ||
run: | | ||
python setup.py sdist bdist_wheel | ||
python -m build | ||
python -m twine upload dist/* | ||
- name: create release branch | ||
uses: peterjgrainger/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters