ginga
ginga copied to clipboard
Use publish workflow on GitHub Actions for release?
I noticed that there is not publish workflow on GitHub Actions. Is a release being done manually? Most of it could be automated via GitHub Actions nowadays. Example: https://github.com/astropy/astropy/blob/main/.github/workflows/publish.yml
This enables anyone who are able to push tag (or GitHub Release if you do not like kicking it off at tagging) to release the package, thus eliminating a single point of failure (assuming more than one person has such access here). It also allows CI to run before release is made, to diminish the risk of broken release.
The astropy example is probably overkill. If you do not need multi-arch wheels, see https://github.com/OpenAstronomy/github-actions-workflows/?tab=readme-ov-file#build-and-publish-a-pure-python-package