python-tuf/.github/workflows
Lukas Puehringer faef040407 build: add GH workflow to build + release on PyPI
Add workflow with two jobs to build and publish on PyPI.  The
release job waits for the build job and uses a custom release
environment, which can be configured to require review.

To share the build artifacts between the jobs and to make them
available for intermediate review, they are stored using
'actions/upload-artifact' and 'actions/download-artifact'.
https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts

To upload the build artifacts to PyPI, the PyPA recommended
'pypa/gh-action-pypi-publish' is used.
https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/

**Caveat**
The URL to grab the artifacts, e.g. for review, requires knowledge
of action ID and artifact ID, and a login token (no special
permissions). This makes it a bit cumbersome to fetch the artifacts
with a script and compare them to a local build.
https://docs.github.com/en/actions/managing-workflow-runs/downloading-workflow-artifacts

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2022-04-06 17:30:13 +02:00
..
cd.yml build: add GH workflow to build + release on PyPI 2022-04-06 17:30:13 +02:00
ci.yml build(deps): bump actions/checkout from 2.4.0 to 3 2022-03-02 10:21:30 +00:00
maintainer-permissions-reminder.yml Merge pull request #1871 from lukpueh/rm-authors-txt 2022-02-16 13:29:09 +01:00
specification-version.yml build(deps): bump actions/checkout from 2.4.0 to 3 2022-03-02 10:21:30 +00:00