File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Release Python Package
1+ name : Release
22
33on :
4+ push :
5+ branches : [main]
6+ pull_request :
47 release :
58 types : [created]
69
710jobs :
8- deploy :
11+ build :
912 runs-on : ubuntu-latest
1013 steps :
1114 - uses : actions/checkout@v3
2124 - name : Build
2225 run : python3 -m build
2326
27+ - name : Check
28+ run : twine check dist/*
29+
2430 - name : Publish
31+ if : github.event_name == 'release'
2532 env :
2633 TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
2734 TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
Original file line number Diff line number Diff line change 1515 keywords = "hcloud hetzner cloud" ,
1616 description = "Official Hetzner Cloud python library" ,
1717 long_description = readme ,
18+ long_description_content_type = "text/markdown" ,
1819 author = "Hetzner Cloud GmbH" ,
1920 author_email = "support-cloud@hetzner.com" ,
2021 url = "https://github.com/hetznercloud/hcloud-python" ,
You can’t perform that action at this time.
0 commit comments