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 99fe172 commit d620c85Copy full SHA for d620c85
.github/workflows/pythonpublish_windows.yml
@@ -0,0 +1,28 @@
1
+name: Upload Python Package
2
+
3
+on:
4
+ release:
5
+ types: [created]
6
7
+jobs:
8
+ deploy:
9
+ runs-on: windows-2019
10
+ steps:
11
+ - uses: actions/checkout@v1
12
+ - name: Set up Python
13
+ uses: actions/setup-python@v1
14
+ with:
15
+ python-version: '3.x'
16
+ - name: Install dependencies
17
+ run: |
18
+ python -m pip install --upgrade pip
19
+ pip install setuptools wheel twine
20
+ pip install scikit-learn cython
21
+ pip install auditwheel
22
+ - name: Build and publish
23
+ env:
24
+ TWINE_USERNAME: __token__
25
+ TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
26
27
+ python setup.py sdist bdist_wheel
28
+ twine upload dist/*
0 commit comments