From d6807f6a8cc04ecd9cd08b1a40037219ceef7de8 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Thu, 2 Feb 2023 12:03:52 +0100 Subject: [PATCH] py: see if we can build multiple Python versions in Windows --- .github/workflows/publish.yml | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c519b12..a6a57f4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -6,10 +6,10 @@ on: - py-* jobs: - Unix: + All: strategy: matrix: - os: [ubuntu-latest, macos-latest] + os: [ubuntu-latest, macos-latest, windows-latest] python: ["3.8", "3.9", "3.10", "3.11"] runs-on: ${{ matrix.os }} @@ -34,22 +34,3 @@ jobs: --username __token__ --password ${{ secrets.PYPI_TOKEN }} --interpreter python${{ matrix.python }} - - Windows: - runs-on: windows-latest - environment: "Publish wheels" - - steps: - - uses: actions/checkout@v2 - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - override: true - - name: Publish all versions - uses: messense/maturin-action@v1 - with: - command: publish - args: -m instant-distance-py/Cargo.toml - --username __token__ - --password ${{ secrets.PYPI_TOKEN }}