File tree 1 file changed +8
-10
lines changed
1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -32,17 +32,15 @@ jobs:
32
32
python -m pip install --upgrade pip
33
33
pip install setuptools wheel twine
34
34
pip install -r requirements.txt
35
- - name : Build package
35
+ - name : Build package (Linux)
36
36
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
46
44
env :
47
45
TWINE_USERNAME : __token__
48
46
TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments