diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b7535ce..0f328ef 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -19,10 +19,8 @@ jobs: run: | python -m pip install --upgrade pip pip install setuptools wheel twine - - name: Build and publish - env: - TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} - TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + - name: Build run: | python setup.py sdist bdist_wheel - twine upload dist/* \ No newline at end of file + - name: Publish + uses: pypa/gh-action-pypi-publish@release/v1