GitHub_Action_Python_Package_Example
1.0.2
これは、Auto Publish Pypiパッケージとテスト自動化のGitHubアクションの例です。
Settingでpypi_usernameとpypi_passwordをセットアップSecrets 。 GitHub_Action_Python_Example/__version__.pyバージョン番号(例えば1.0.2)を変更します。
Releaseノートをクリックしてドラフトします。
.github/workflows/publish.yml 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 ())MIT©Nijia Lin