-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Actions workflow to release the package #30
Conversation
What is it basing the release on, current |
Most likely The most simple approach is to add a check that release is done from It is also possible to move tests into reusable workflow and run them before packing. And it is also possible to detect if version in |
Reworked to release upon a tag given the instruction at https://github.com/pypa/gh-action-pypi-publish |
Make Publish depend on successful test run. The only thing I am not sure is that tag test works. https://stackoverflow.com/questions/58457140/dependencies-between-workflows-on-github-actions |
I had to add some changes to make it work and for now it publishes to https://test.pypi.org/project/sqlalchemy-schemadisplay/ |
Good news. ) Now waiting for updated version at https://pypi.org/project/sqlalchemy-schemadisplay/ |
This adds a button to release the package to https://github.com/fschulze/sqlalchemy_schemadisplay/actions
Requires to set PYPI_API_TOKEN in repository secrets in repository settings.