From ba07e95c0e1703847639e20e2ee37d524adba9d9 Mon Sep 17 00:00:00 2001 From: KmolYuan Date: Fri, 3 Dec 2021 18:04:19 +0800 Subject: [PATCH] Simplify CI scripts. --- .github/workflows/python.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 27308859..a570fed8 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -55,12 +55,8 @@ jobs: - if: startsWith(github.ref, 'refs/tags/py') && matrix.os == 'ubuntu-latest' name: release working-directory: cython - run: | - python -m build --sdist - python -m twine upload "dist/*.tar.gz" --skip-existing + run: python -m twine upload "dist/*.tar.gz" --skip-existing - if: startsWith(github.ref, 'refs/tags/py') && matrix.os != 'ubuntu-latest' name: release working-directory: cython - run: | - python -m build --wheel - python -m twine upload "dist/*.whl" --skip-existing + run: python -m twine upload "dist/*.whl" --skip-existing