diff --git a/.github/workflows/pythonpublish.yml b/.github/workflows/pythonpublish.yml index ce3c6fb..b976453 100644 --- a/.github/workflows/pythonpublish.yml +++ b/.github/workflows/pythonpublish.yml @@ -17,13 +17,12 @@ jobs: run: | python -m pip install --upgrade pip pip install setuptools build wheel twine lxml - - name: Build and publish - env: - TWINE_USERNAME: __token__ - TWINE_PASSWORD: ${{ secrets.PYPI_APIKEY }} - run: | + - name: Build python -m build . - twine upload dist/* + - name: Publish to Pypi + uses: pypa/gh-action-pypi-publish@v1.12.2 + with: + password: ${{ secrets.PYPI_APIKEY }} - name: Send Bluesky Post uses: myConsciousness/bluesky-post@v5 with: