diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3d64ff8..e3a05b8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,6 +4,7 @@ on: push: tags: - '*' + pull_request: jobs: build: @@ -13,19 +14,18 @@ jobs: fail-fast: false matrix: include: - # Windows builds are disabled because maturin fails. - # - os: windows - # ls: dir - # target: x86_64 - # manylinux: auto - # python-architecture: x64 - # interpreter: 3.9 3.10 3.11 3.12 3.13 3.14 - # - os: windows - # ls: dir - # target: i686 - # manylinux: auto - # python-architecture: x86 - # interpreter: 3.9 3.10 3.11 3.12 3.13 3.14 + - os: windows + ls: dir + target: x86_64 + manylinux: auto + python-architecture: x64 + interpreter: 3.9 3.10 3.11 3.12 3.13 3.14 + - os: windows + ls: dir + target: i686 + manylinux: auto + python-architecture: x86 + interpreter: 3.9 3.10 3.11 3.12 3.13 3.14 - os: macos target: x86_64 manylinux: auto @@ -53,7 +53,7 @@ jobs: target: armv7 manylinux: 2_28 python-architecture: x64 - interpreter: 3.9 3.10 3.11 3.12 3.13 + interpreter: 3.9 3.10 3.11 3.12 3.13 3.14 - os: ubuntu target: ppc64le manylinux: 2_28 @@ -138,7 +138,7 @@ jobs: publish-to-pypi: name: Publish Python 🐍 distribution 📦 to PyPI - if: endsWith(github.ref, '-debug-publish-action') != true + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') needs: - build runs-on: ubuntu-latest