📦 Move PyPI release workflow into the main workflow.

This ensures that any releases are fully tested before publication.

The workflow first builds the distribution files (sdist, wheel) before
using a deployment environment to publish these to PyPI, using the
GitHub actions OpenID support to authenticate with PyPI.
This commit is contained in:
Martijn Pieters
2023-05-16 17:54:16 +01:00
parent 4aa8060faa
commit 282fcc7cea
6 changed files with 377 additions and 39 deletions

View File

@@ -18,6 +18,7 @@ test-parallel: deps
build: clean deps
@poetry build
@poetry run tox run -e lint_distributions
clean:
@rm -rf ./dist