We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d04e9ea + 8ac16c9 commit 390895fCopy full SHA for 390895f
.github/workflows/publish.yml
@@ -0,0 +1,22 @@
1
+name: Publish
2
+
3
+on:
4
+ push:
5
+ tags: 'v*'
6
7
+jobs:
8
+ build-and-publish:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Checkout package
12
+ uses: actions/checkout@v3
13
+ - name: Install build and publish dependencies
14
+ run: |
15
+ pip3 install --upgrade build
16
+ - name: Build package
17
18
+ python3 -m build
19
+ - name: Publish to PyPI
20
+ uses: pypa/gh-action-pypi-publish@release/v1
21
+ with:
22
+ password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments