File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change 1
- name : wheels
1
+ name : pip-install
2
2
3
3
on :
4
4
release :
8
8
jobs :
9
9
10
10
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']
13
17
steps :
14
- - uses : actions/checkout@v2
18
+ - uses : actions/checkout@v3
15
19
with :
20
+ submodules : true
16
21
fetch-depth : 0
17
22
18
- - uses : actions/setup-python@v2
23
+ - uses : actions/setup-python@v4
19
24
name : Install Python
20
25
with :
21
- python-version : " 3.8 "
26
+ python-version : ${{ matrix.python }}
22
27
23
28
- name : Build
24
29
run : |
37
42
venv-wheel/bin/python -m pip install dist/vspace*.whl
38
43
venv-wheel/bin/python -c "import vspace; print(vspace.__version__)"
39
44
40
- - uses : actions/upload-artifact@v2
45
+ - uses : actions/upload-artifact@v3
41
46
with :
42
47
path : dist/*
43
48
46
51
runs-on : ubuntu-latest
47
52
if : github.event_name == 'release' && github.event.action == 'published'
48
53
steps :
49
- - uses : actions/download-artifact@v2
54
+ - uses : actions/download-artifact@v3
50
55
with :
51
56
name : artifact
52
57
path : dist
You can’t perform that action at this time.
0 commit comments