Skip to content

Commit

Permalink
ci: fix deploy with gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
machow committed Jun 21, 2021
1 parent 1931d92 commit d097fca
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,16 @@ jobs:
runs-on: ubuntu-latest
if: github.event_name == 'release'
steps:
- uses: actions/checkout@v2
- name: "Set up Python 3.8"
uses: actions/setup-python@v2
with:
python-version: "3.8"
- name: "Build Package"
runs:
python setup.py build sdist
- uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/

0 comments on commit d097fca

Please sign in to comment.