mdklatt / httpexec

Execute CLI commands over HTTP via a REST API.
MIT License
0 stars 0 forks source link

Publish to PyPI #7

Closed mdklatt closed 1 year ago

mdklatt commented 1 year ago

For ease of use in downstream projects, publish this as a PyPI package. There is a separate Test PyPI that can be used for testing publishing workflows. GitHub can act as a trusted publisher, which simplifies authentication--there is no need to create a PyPI token.

mdklatt commented 1 year ago

The Test workflow should be executed before each Publish workflow. See GitHub Actions / Reusing workflows and SO: Dependencies Between Workflows on Github Actions.

mdklatt commented 1 year ago

Commit c62577e11cab9f530058ef37b2c819d0334c854c is published to Test PyPI, and the project repo has been added as a trusted publisher to PyPI.

mdklatt commented 1 year ago

For now, the Publish workflows must be executed manually. Once more experience is gained with the process, tagged pushes to main can be automatically published.

mdklatt commented 1 year ago

Issue resolved by commit f4ae15084cad607109cc9bf6b9483600c04e2343.