Simplify CI scripts.
parent
84f30699dd
commit
ba07e95c0e
|
@ -55,12 +55,8 @@ jobs:
|
||||||
- if: startsWith(github.ref, 'refs/tags/py') && matrix.os == 'ubuntu-latest'
|
- if: startsWith(github.ref, 'refs/tags/py') && matrix.os == 'ubuntu-latest'
|
||||||
name: release
|
name: release
|
||||||
working-directory: cython
|
working-directory: cython
|
||||||
run: |
|
run: python -m twine upload "dist/*.tar.gz" --skip-existing
|
||||||
python -m build --sdist
|
|
||||||
python -m twine upload "dist/*.tar.gz" --skip-existing
|
|
||||||
- if: startsWith(github.ref, 'refs/tags/py') && matrix.os != 'ubuntu-latest'
|
- if: startsWith(github.ref, 'refs/tags/py') && matrix.os != 'ubuntu-latest'
|
||||||
name: release
|
name: release
|
||||||
working-directory: cython
|
working-directory: cython
|
||||||
run: |
|
run: python -m twine upload "dist/*.whl" --skip-existing
|
||||||
python -m build --wheel
|
|
||||||
python -m twine upload "dist/*.whl" --skip-existing
|
|
||||||
|
|
Loading…
Reference in New Issue