Skip to content

Commit 4a4f37c

Browse files
authored
Merge pull request #18 from VirtualPlanetaryLaboratory/PipInstall
Changeed wheels.yml to pip-install.yml.
2 parents 44035ac + 3869d9b commit 4a4f37c

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

.github/workflows/wheels.yml renamed to .github/workflows/pip-install.yml

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: Build wheels on ${{ matrix.os }}
12+
runs-on: ${{ matrix.os }}
13+
strategy:
14+
matrix:
15+
os: [ubuntu-latest, macos-latest]
16+
python: ['3.6', '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: |
@@ -37,7 +42,7 @@ jobs:
3742
venv-wheel/bin/python -m pip install dist/vspace*.whl
3843
venv-wheel/bin/python -c "import vspace; print(vspace.__version__)"
3944
40-
- uses: actions/upload-artifact@v2
45+
- uses: actions/upload-artifact@v3
4146
with:
4247
path: dist/*
4348

@@ -46,7 +51,7 @@ jobs:
4651
runs-on: ubuntu-latest
4752
if: github.event_name == 'release' && github.event.action == 'published'
4853
steps:
49-
- uses: actions/download-artifact@v2
54+
- uses: actions/download-artifact@v3
5055
with:
5156
name: artifact
5257
path: dist

0 commit comments

Comments
 (0)