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 52d51eb commit fe16e67Copy full SHA for fe16e67
.github/workflows/release.yaml
@@ -0,0 +1,26 @@
1
+name: Source Release
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - '[0-9]*'
7
+jobs:
8
+ pypi:
9
+ name: Release To PyPi
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v2
13
+ - name: Set up Python
14
+ uses: actions/setup-python@v1
15
+ with:
16
+ python-version: '3.x'
17
+ - name: Install publishing dependencies
18
+ run: |
19
+ python -m pip install --upgrade pip
20
+ pip install pytest setuptools wheel twine scikit-build
21
22
+ - name: Build and publish
23
24
+ git submodule update --init
25
+ python setup.py sdist
26
+ twine upload --skip-existing -u __token__ -p ${{ secrets.PYPI_TOKEN }} dist/*
0 commit comments