We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c3e16f commit 65e1726Copy full SHA for 65e1726
1 file changed
.github/workflows/pypi.yml
@@ -0,0 +1,32 @@
1
+name: Upload Python Package
2
+
3
+# on:
4
+# release:
5
+# types: [created]
6
7
+on:
8
+ push:
9
+ branches:
10
+ - dciborow-patch-1
11
+ - release/*
12
13
+jobs:
14
+ deploy:
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - uses: actions/checkout@v2
18
+ - name: Set up Python
19
+ uses: actions/setup-python@v1
20
+ with:
21
+ python-version: '3.x'
22
+ - name: Install dependencies
23
+ run: |
24
+ python -m pip install --upgrade pip
25
+ pip install setuptools wheel twine
26
+ python setup.py sdist bdist_wheel
27
28
+ - name: Publish package
29
+ uses: pypa/gh-action-pypi-publish@release/v1
30
31
+ user: __token__
32
+ password: ${{ secrets.PYPI_PASSWORD }}
0 commit comments