diff --git a/.github/workflows/continuous-integration-publish.yml b/.github/workflows/continuous-integration-publish.yml index 6e9b8ca..d4508db 100644 --- a/.github/workflows/continuous-integration-publish.yml +++ b/.github/workflows/continuous-integration-publish.yml @@ -8,7 +8,7 @@ on: jobs: build: # Specifying a GitHub environment is optional, but strongly encouraged - environment: release + environment: publish permissions: # IMPORTANT: this permission is mandatory for trusted publishing id-token: write @@ -35,10 +35,7 @@ jobs: pip install setuptools pip install wheel pip install 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 - name: Publish package distributions to PyPI