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.
2 parents 97607dd + d454899 commit a3fe248Copy full SHA for a3fe248
.github/workflows/release.yml
@@ -0,0 +1,28 @@
1
+name: release
2
+
3
+on:
4
+ release:
5
+ types: [released]
6
7
8
+jobs:
9
10
+ pypi:
11
+ runs-on: ubuntu-latest
12
13
+ container:
14
+ image: analysiscenter1/ds-py3
15
16
+ steps:
17
+ - uses: actions/checkout@v2
18
19
+ - name: Install dependencies
20
+ run: pip3 install --upgrade setuptools wheel twine
21
22
+ - name: Build and publish
23
+ env:
24
+ TWINE_USERNAME: __token__
25
+ TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
26
+ run: |
27
+ python3 setup.py sdist bdist_wheel
28
+ twine upload --repository pypi dist/*
0 commit comments