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 28ff1c1 commit e4a4c0eCopy full SHA for e4a4c0e
.github/workflows/publish.yml
@@ -0,0 +1,23 @@
1
+name: Publish Python 🐍 distributions 📦 to PyPI
2
+
3
+on:
4
+ release:
5
+ types: [created]
6
7
+jobs:
8
+ build-and-publish:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v2
12
+ - name: Set up Python 3.9
13
+ uses: actions/setup-python@v1
14
+ with:
15
+ python-version: 3.9
16
+ - name: Install pypa/build
17
+ run: python -m pip install build --user
18
+ - name: Build a binary wheel and a source tarball
19
+ run: python -m build --sdist --wheel --outdir dist/
20
+ - name: Publish distribution to PyPI
21
+ uses: pypa/gh-action-pypi-publish@master
22
23
+ password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments