Skip to content

Commit 808b3d8

Browse files
authored
Merge pull request #26 from VirtualPlanetaryLaboratory/PipInstall
Changed wheels.yml to pip-install.yml.
2 parents bd81398 + ce89b1e commit 808b3d8

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed
Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: wheels
1+
name: pip-install
22

33
on:
44
release:
@@ -8,17 +8,22 @@ on:
88
jobs:
99

1010
build:
11-
name: Build source distribution
12-
runs-on: ubuntu-latest
11+
name: ${{ matrix.os }}:${{ matrix.python }}
12+
runs-on: ${{ matrix.os }}
13+
strategy:
14+
matrix:
15+
os: [ubuntu-latest, macos-latest]
16+
python: ['3.7', '3.8', '3.9']
1317
steps:
14-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v3
1519
with:
20+
submodules: true
1621
fetch-depth: 0
1722

18-
- uses: actions/setup-python@v2
23+
- uses: actions/setup-python@v4
1924
name: Install Python
2025
with:
21-
python-version: "3.8"
26+
python-version: ${{ matrix.python }}
2227

2328
- name: Build
2429
run: |
@@ -45,7 +50,7 @@ jobs:
4550
venv-wheel/bin/python -m pip install dist/vplot*.whl
4651
venv-wheel/bin/python -c "import vplot; print(vplot.__version__)"
4752
48-
- uses: actions/upload-artifact@v2
53+
- uses: actions/upload-artifact@v3
4954
with:
5055
path: dist/*
5156

@@ -54,7 +59,7 @@ jobs:
5459
runs-on: ubuntu-latest
5560
if: github.event_name == 'release' && github.event.action == 'published'
5661
steps:
57-
- uses: actions/download-artifact@v2
62+
- uses: actions/download-artifact@v3
5863
with:
5964
name: artifact
6065
path: dist

0 commit comments

Comments
 (0)