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 001c337 commit 60682f0Copy full SHA for 60682f0
.github/workflows/publish.yml
@@ -0,0 +1,31 @@
1
+
2
+name: Upload Python Package
3
+on: [push, pull_request]
4
+#on:
5
+# release:
6
+# types: [created]
7
8
+jobs:
9
+ publish:
10
+ name: Publish to PyPI
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Set up Python
15
+ uses: actions/setup-python@v2
16
+ with:
17
+ python-version: '3.x'
18
+ - name: Install twine
19
+ run: |
20
+ python -m pip install --upgrade pip
21
+ pip install twine
22
+ - name: Download Artifacts
23
+ uses: actions/download-artifact@v2
24
25
+ name: wheels
26
+ path: ./wheels
27
+ - name: Publish
28
+ env:
29
+ TWINE_USERNAME: ${{ secrets.TPYPI_USERNAME }}
30
+ TWINE_PASSWORD: ${{ secrets.TPYPI_PASSWORD }}
31
+ run: twine upload --repository testpypi ./wheels/*
0 commit comments