diff --git a/.github/workflows/preview-deployments.yml b/.github/workflows/preview-deployments.yml index 855637d6b..671277ff1 100644 --- a/.github/workflows/preview-deployments.yml +++ b/.github/workflows/preview-deployments.yml @@ -13,14 +13,11 @@ on: jobs: macos: runs-on: macos-latest - strategy: - matrix: - python-version: ["3.7"] steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: ${{ matrix.python-version }} + python-version: "3.7" - name: Install Rust toolchain uses: actions-rs/toolchain@v1 with: @@ -32,11 +29,7 @@ jobs: uses: messense/maturin-action@v1 with: target: x86_64 - args: -i python --release --out dist - - name: Install build wheel - x86_64 - run: | - pip install --force-reinstall dist/robyn*.whl - cd ~ && python -c 'import robyn' + args: -i python --release --out dist --no-sdist - name: Build wheels - universal2 uses: messense/maturin-action@v1 with: @@ -57,7 +50,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: ${{ matrix.python-version }} + python-version: "3.7" architecture: ${{ matrix.target }} - name: Install Rust toolchain uses: actions-rs/toolchain@v1 @@ -80,7 +73,6 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7"] target: [x86_64, i686] steps: - uses: actions/checkout@v3 @@ -92,7 +84,7 @@ jobs: default: true - uses: actions/setup-python@v4 with: - python-version: ${{ matrix.python-version }} + python-version: "3.7" - name: Build Wheels uses: messense/maturin-action@v1 with: @@ -109,7 +101,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python: [{ version: "3.7", abi: "cp37-cp37m" }] + python: [{ abi: "cp37-cp37m" }] target: [aarch64, armv7, s390x, ppc64le] steps: - uses: actions/checkout@v3 @@ -120,7 +112,7 @@ jobs: with: target: ${{ matrix.target }} manylinux: auto - args: -i python3.9 --release --out dist --no-sdist + args: -i python3.7 --release --out dist --no-sdist - name: Upload wheels uses: actions/upload-artifact@v3 with: