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 : Publish Python Package
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+ - uses : actions/cache@v2
17+ name : Configure pip caching
18+ with :
19+ path : ~/.cache/pip
20+ key : ${{ runner.os }}-publish-pip-${{ hashFiles('**/setup.py') }}
21+ restore-keys : |
22+ ${{ runner.os }}-publish-pip-
23+ - name : Install dependencies
24+ run : |
25+ pip install setuptools wheel twine
26+ - name : Publish to PyPI
27+ env :
28+ TWINE_USERNAME : __token__
29+ TWINE_PASSWORD : ${{ secrets.PYPI_TOKEN }}
30+ run : |
31+ python -m build
32+ twine upload dist/*
Original file line number Diff line number Diff line change 1+ include README.md
2+
3+ include src/evengsdk/schemas/lab-schema.json
You can’t perform that action at this time.
0 commit comments