diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ca962f8..096c869 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -51,4 +51,9 @@ jobs: codecov -t ${{ secrets.CODECOV_TOKEN }} - name: Publish on Pypi if: startsWith(github.ref, 'refs/tags/') - run: echo "tag ${{ github.ref }}" + env: + TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} + TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + run: | + python setup.py sdist bdist_wheel + twine upload dist/*