Skip to content

Commit 84471f9

Browse files
committed
Merge github workflow branch into feature branch for release
2 parents e238bc6 + 40f6da2 commit 84471f9

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

.github/workflows/pypi_publish.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Publish PyPi Package
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
jobs:
8+
publish:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- id: checkout
13+
uses: actions/checkout@v3
14+
15+
- id: python-setup
16+
name: Set up Python
17+
uses: actions/setup-python@v2
18+
with:
19+
python-version: '3.11'
20+
21+
- id: python-dependencies
22+
name: Install dependencies
23+
run: |
24+
python -m pip install --upgrade pip
25+
pip install setuptools wheel twine
26+
27+
- id: publish-pypi
28+
env:
29+
TWINE_USERNAME: __token__
30+
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
31+
run: |
32+
make pypi

0 commit comments

Comments
 (0)