File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -32,17 +32,15 @@ jobs:
3232 python -m pip install --upgrade pip
3333 pip install setuptools wheel twine
3434 pip install -r requirements.txt
35- - name : Build package
35+ - name : Build package (Linux)
3636 run : |
37- if [ "$RUNNER_OS" == "Linux" ]; then
38- python setup.py bdist_wheel --plat-name manylinux1_x86_64
39- elif [ "$RUNNER_OS" == "Windows" ]; then
40- python setup.py bdist_wheel
41- else
42- echo "$RUNNER_OS not supported"
43- exit 1
44- fi
45- - name : Build and publish
37+ python setup.py bdist_wheel --plat-name manylinux1_x86_64
38+ if : runner.os == 'Linux'
39+ - name : Build package (Windows)
40+ run : |
41+ python setup.py bdist_wheel
42+ if : runner.os == 'Windows'
43+ - name : Publish
4644 env :
4745 TWINE_USERNAME : __token__
4846 TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments