diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 3367856..39090a8 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -30,14 +30,12 @@ jobs: - name: Build package run: python -m build - + - name: Publish package run: twine upload dist/* - name: Add execute permissions to script run: chmod +x scripts/publish.sh - - name: Run publish script - run: scripts/publish.sh - env: - PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }} + - name: Publish package + run: twine upload dist/* --non-interactive -u __token__ -p ${{ secrets.PYPI_API_TOKEN }}