haddocking / arctic3d

Automatic Retrieval and ClusTering of Interfaces in Complexes from 3D structural information
Apache License 2.0
27 stars 6 forks source link

Add GitHub Actions workflows for publishing to Test PyPI and PyPI #407

Closed rvhonorato closed 5 months ago

rvhonorato commented 6 months ago

This PR adds two actions that publish the codebase do pypi

~- pypi-publish-pre-release.yml will be triggered when a new tag is created~

~With these two the idea is that you first DRAFT a new release, it will then be built and sent to https://test.pypi.org/project/arctic3d/ then once its all checked, you then PUBLISH the release, this one will go to the main pypi at https://pypi.org/project/arctic3d/~

With this a new package will be published once a new release is created

Also keep in mind that the version number needs to be manually updated and kept insync - maybe we can find a smarter way to update it automatically based on the tag.

rvhonorato commented 5 months ago

I was testing these actions in another repository, and it makes more sense to just have the one that publishes the package on release creation