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 : deploy to pypi
2+
3+ on :
4+ release :
5+ types : [created]
6+
7+ jobs :
8+ deploy :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v2
12+ - name : Set up Python
13+ uses : actions/setup-python@v2
14+ with :
15+ python-version : ' 3.9'
16+ - name : Install poetry
17+ uses : snok/install-poetry@v1
18+ with :
19+ version : 1.5.1
20+ - name : Build and publish to PyPI
21+ env :
22+ TWINE_API_KEY : ${{ secrets.TWINE_API_KEY }}
23+ run : |
24+ poetry config pypi-token.pypi $TWINE_API_KEY
25+ poetry publish --build
Original file line number Diff line number Diff line change 11import click
2- from hier_config import WorkflowRemediation , get_hconfig , Platform
2+ from hier_config import Platform , WorkflowRemediation , get_hconfig
33from hier_config .utils import read_text_from_file
44
55# Mapping for driver platforms
You can’t perform that action at this time.
0 commit comments