File tree Expand file tree Collapse file tree 1 file changed +26
-2
lines changed
Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Original file line number Diff line number Diff line change 66 - ' v*'
77
88jobs :
9- conda :
9+ Installer :
1010 name : Release-Windows
1111 runs-on : " windows-latest"
1212 steps :
8585 upload_url : ${{ steps.create_release.outputs.upload_url }}
8686 asset_path : compas_installer/dist/rhinoGS Setup 0.0.1.exe
8787 asset_name : rhinoGS_${{ steps.tagName.outputs.tag }}.exe
88- asset_content_type : application/octet-stream
88+ asset_content_type : application/octet-stream
89+
90+ Publish :
91+
92+ needs : Installer
93+
94+ runs-on : ubuntu-latest
95+
96+ steps :
97+ - uses : actions/checkout@v2
98+ - name : Set up Python
99+ uses : actions/setup-python@v2
100+ with :
101+ python-version : ' 3.x'
102+ - name : Install dependencies
103+ run : |
104+ python -m pip install --upgrade pip
105+ pip install setuptools wheel twine
106+ - name : Build and publish
107+ env :
108+ TWINE_USERNAME : __token__
109+ TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
110+ run : |
111+ python setup.py sdist bdist_wheel
112+ twine upload --verbose dist/*
You can’t perform that action at this time.
0 commit comments