diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e62c5158..db2b915e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,18 +29,8 @@ jobs: - name: Build with hatch run: | hatch build -c - - pypi-publish: - name: upload release to PyPI - runs-on: ubuntu-latest - needs: build # wait for build to finish in order to publish - # Specifying a GitHub environment is optional, but strongly encouraged - environment: release - permissions: - # IMPORTANT: this permission is mandatory for trusted publishing - id-token: write - steps: - # retrieve your distributions here - - - name: Publish package distributions to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 + - name: upload release to PyPI + permissions: + # IMPORTANT: this permission is mandatory for trusted publishing + id-token: write + uses: pypa/gh-action-pypi-publish@release/v1