Skip to content

Commit 4ece89b

Browse files
committed
chore: address the suggestions
1 parent 17197c6 commit 4ece89b

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

.github/workflows/preview-deployments.yml

+5-13
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,11 @@ on:
1313
jobs:
1414
macos:
1515
runs-on: macos-latest
16-
strategy:
17-
matrix:
18-
python-version: ["3.7"]
1916
steps:
2017
- uses: actions/checkout@v3
2118
- uses: actions/setup-python@v4
2219
with:
23-
python-version: ${{ matrix.python-version }}
20+
python-version: "3.7"
2421
- name: Install Rust toolchain
2522
uses: actions-rs/toolchain@v1
2623
with:
@@ -32,11 +29,7 @@ jobs:
3229
uses: messense/maturin-action@v1
3330
with:
3431
target: x86_64
35-
args: -i python --release --out dist
36-
- name: Install build wheel - x86_64
37-
run: |
38-
pip install --force-reinstall dist/robyn*.whl
39-
cd ~ && python -c 'import robyn'
32+
args: -i python --release --out dist --no-sdist
4033
- name: Build wheels - universal2
4134
uses: messense/maturin-action@v1
4235
with:
@@ -57,7 +50,7 @@ jobs:
5750
- uses: actions/checkout@v3
5851
- uses: actions/setup-python@v4
5952
with:
60-
python-version: ${{ matrix.python-version }}
53+
python-version: "3.7"
6154
architecture: ${{ matrix.target }}
6255
- name: Install Rust toolchain
6356
uses: actions-rs/toolchain@v1
@@ -80,7 +73,6 @@ jobs:
8073
runs-on: ubuntu-latest
8174
strategy:
8275
matrix:
83-
python-version: ["3.7"]
8476
target: [x86_64, i686]
8577
steps:
8678
- uses: actions/checkout@v3
@@ -92,7 +84,7 @@ jobs:
9284
default: true
9385
- uses: actions/setup-python@v4
9486
with:
95-
python-version: ${{ matrix.python-version }}
87+
python-version: "3.7"
9688
- name: Build Wheels
9789
uses: messense/maturin-action@v1
9890
with:
@@ -120,7 +112,7 @@ jobs:
120112
with:
121113
target: ${{ matrix.target }}
122114
manylinux: auto
123-
args: -i python3.9 --release --out dist --no-sdist
115+
args: -i python3.7 --release --out dist --no-sdist
124116
- name: Upload wheels
125117
uses: actions/upload-artifact@v3
126118
with:

0 commit comments

Comments
 (0)