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 14410e9 commit 211d3c6Copy full SHA for 211d3c6
.github/workflows/publish.yml
@@ -0,0 +1,35 @@
1
+name: Publish packages
2
+on:
3
+ release:
4
+ types: [published]
5
+
6
+jobs:
7
+ build-n-publish:
8
+ name: Build release packages
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - uses: actions/checkout@master
13
+ - name: Setup python
14
+ uses: actions/setup-python@v1
15
+ with:
16
+ python-version: 3.9
17
18
+ - name: Install pypa/build
19
+ run: >-
20
+ python -m
21
+ pip install
22
+ build
23
+ --user
24
+ - name: Build a binary wheel and a source tarball
25
26
27
28
+ --sdist
29
+ --wheel
30
+ --outdir dist/
31
+ .
32
+ - name: Publish release on pypi
33
+ uses: pypa/gh-action-pypi-publish@master
34
35
+ password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments