From 0054c33b6c9248e15ac8ea43d83d0171f6760303 Mon Sep 17 00:00:00 2001 From: Eivind Fonn Date: Thu, 28 Nov 2024 10:27:04 +0100 Subject: [PATCH] Temp --- .github/workflows/ci.yml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b61fe03..f37c013 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -96,7 +96,7 @@ jobs: manylinux: auto rust-toolchain: nightly command: build - args: --release --sdist -o dist -m goldpy/Cargo.toml + args: --release --sdist -o dist -m goldpy/Cargo.toml --interpreter 3.8 3.9 3.10 3.11 3.12 3.13 - uses: messense/maturin-action@v1 if: ${{ matrix.os == 'windows-latest' }} @@ -104,7 +104,7 @@ jobs: manylinux: auto rust-toolchain: nightly command: build - args: --release -o dist -m goldpy/Cargo.toml + args: --release -o dist -m goldpy/Cargo.toml --interpreter 3.8 3.9 3.10 3.11 3.12 3.13 # - uses: actions/setup-python@v4 # if: ${{ matrix.os == 'macos-latest' }} @@ -127,23 +127,24 @@ jobs: manylinux: auto rust-toolchain: nightly command: build - args: --release -o dist --universal2 --find-interpreter -m goldpy/Cargo.toml + args: --release -o dist --universal2 -m goldpy/Cargo.toml --interpreter 3.8 3.9 3.10 3.11 3.12 3.13 - name: Upload wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: wheels - path: dist + name: wheel + path: ./dist/*.whl - release: - name: Release - if: "startsWith(github.ref, 'refs/tags/')" + deploy: + name: Deploy + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') needs: build-wheels runs-on: ubuntu-latest steps: - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: - name: wheels + path: dist + merge-multiple: true - name: Publish to PyPI uses: messense/maturin-action@v1 env: