From bacc44f6daa111b62cfdb74c4b8cec4605fe50ed Mon Sep 17 00:00:00 2001 From: Enno Hermann Date: Thu, 7 Nov 2024 00:35:29 +0100 Subject: [PATCH] temp: test wheels --- .github/workflows/pypi-release.yml | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/pypi-release.yml b/.github/workflows/pypi-release.yml index 822990e967..f191d7c63b 100644 --- a/.github/workflows/pypi-release.yml +++ b/.github/workflows/pypi-release.yml @@ -2,6 +2,8 @@ name: Publish Python 🐍 distributions 📦 to PyPI on: release: types: [published] + pull_request: + types: [opened, synchronize, reopened] defaults: run: shell: @@ -12,14 +14,14 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Verify tag matches version - run: | - set -ex - version=$(grep -m 1 version pyproject.toml | grep -P '\d+\.\d+\.\d+' -o) - tag="${GITHUB_REF/refs\/tags\/}" - if [[ "v$version" != "$tag" ]]; then - exit 1 - fi + # - name: Verify tag matches version + # run: | + # set -ex + # version=$(grep -m 1 version pyproject.toml | grep -P '\d+\.\d+\.\d+' -o) + # tag="${GITHUB_REF/refs\/tags\/}" + # if [[ "v$version" != "$tag" ]]; then + # exit 1 + # fi - uses: actions/setup-python@v5 with: python-version: 3.9 @@ -64,5 +66,5 @@ jobs: merge-multiple: true - run: | ls -lh dist/ - - name: Publish package distributions to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 + # - name: Publish package distributions to PyPI + # uses: pypa/gh-action-pypi-publish@release/v1