Skip to content

Commit

Permalink
fix: release to pypi (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
njzjz authored Sep 23, 2019
1 parent dd4a9ba commit 6c76b51
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: mariamrf/py-package-publish-action@master
uses: mariamrf/py-package-publish-action@master
env:
PYTHON_VERSION: 3.7.3
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
- name: Setup python
uses: actions/setup-python@v1
with:
python-version: 3.7
architecture: x64
- run: pip install wheel
- run: python setup.py sdist bdist_wheel
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
user: njzjz
password: ${{ secrets.pypi_password }}

0 comments on commit 6c76b51

Please sign in to comment.