Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
wayne391 committed Oct 31, 2023
1 parent 8cac79b commit 503af7e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,15 @@ jobs:
python -m pip install --upgrade pip
pip install build
- name: Build and Publish
run: |
python setup.py sdist bdist_wheel
pip install twine
twine upload dist/*
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
# - name: Build and Publish
# run: |
# python setup.py sdist bdist_wheel
# pip install twine
# twine upload dist/*
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ yaml
scipy
pretty_midi
matplotlib
setuptools

0 comments on commit 503af7e

Please sign in to comment.