Python package template for GitHub Action
This is a GitHub Action example for an auto publish PyPi package and test automation.
Setting
➡️ Secrets
.Modify GitHub_Action_Python_Example/__version__.py
version number(e.g. 1.0.2).
Click and draft Release
note.
.github/workflows/publish.yml
will help you to publish package to PyPi.
pip install GitHub-Action-Python-Example
from GitHub_Action_Python_Example.client import HelloWorld
message = HelloWorld(message="Change the World~")
print(message.get_message())