From 4ace397a99f980399adb7aa8f7997431c1e790b8 Mon Sep 17 00:00:00 2001 From: mauwii Date: Sat, 4 Feb 2023 23:05:29 +0100 Subject: [PATCH] remove debug steps --- .github/workflows/pypi-release.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pypi-release.yml b/.github/workflows/pypi-release.yml index 95243bf1fe..b8dc0769ea 100644 --- a/.github/workflows/pypi-release.yml +++ b/.github/workflows/pypi-release.yml @@ -2,8 +2,6 @@ name: PyPI Release on: push: - branches: - - "dev/ci/add-pypi-release" paths: - 'ldm/invoke/_version.py' workflow_dispatch: @@ -29,7 +27,7 @@ jobs: run: twine check dist/* - name: check PyPI versions - # if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' run: | pip install --upgrade requests python -c "\ @@ -37,8 +35,6 @@ jobs: EXISTS=scripts.pypi_helper.local_on_pypi(); \ print(f'PACKAGE_EXISTS={EXISTS}')" >> $GITHUB_ENV - - name: just for debugging - run: echo $PACKAGE_EXISTS - # - name: upload package - # if: env.PACKAGE_EXISTS == 'False' - # run: twine upload dist/* + - name: upload package + if: env.PACKAGE_EXISTS == 'False' + run: twine upload dist/*