We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99e1396 commit c16836cCopy full SHA for c16836c
.github/workflows/release.yaml
@@ -0,0 +1,24 @@
1
+
2
+---
3
+name: Release
4
5
+on: [push]
6
7
+jobs:
8
+ release:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v3
12
+ - uses: actions/setup-python@v4
13
+ - name: Install dependencies
14
+ run: |
15
+ python -m pip install -U pip wheel "setuptools<66.0.0" setuptools-scm twine
16
+ - name: Build distributions
17
+ run: python setup.py sdist bdist_wheel
18
19
+ - name: Publish to PyPI
20
+ if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
21
+ uses: pypa/gh-action-pypi-publish@master
22
+ with:
23
+ user: ${{ secrets.PYPI_USERNAME }}
24
+ password: ${{ secrets.PYPI_PASSWORD }}
0 commit comments