We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6807c17 commit 79e999cCopy full SHA for 79e999c
.github/workflows/publish_pypi.yaml
@@ -0,0 +1,33 @@
1
+name: Publish to PYPI
2
+on:
3
+ release:
4
+ types: [published]
5
+
6
+jobs:
7
+ pypi-release:
8
+ runs-on: ubuntu-latest
9
+ strategy:
10
+ matrix:
11
+ python-version: [3.9]
12
13
+ steps:
14
+ - name: checkout
15
+ uses: actions/checkout@v4
16
17
+ - name: Set up Python ${{ matrix.python-version }}
18
+ uses: actions/setup-python@v5
19
+ with:
20
+ python-version: ${{ matrix.python-version }}
21
22
+ - name: Install dependencies
23
+ run: python -m pip install --upgrade pip wheel twine
24
25
+ - name: Build Dist
26
+ run: python setup.py sdist bdist_wheel
27
28
+ - name: Publish package to TestPyPI
29
+ uses: pypa/gh-action-pypi-publish@master
30
31
+ user: __token__
32
+ password: ${{ secrets.PYPI_API_TOKEN }}
33
0 commit comments