44
44
45
45
- uses : actions/upload-artifact@v3
46
46
with :
47
- name : wheels
47
+ name : wheels-lin
48
48
path : ./python/dist/*.whl
49
49
50
50
- name : Make sdist
61
61
path : ./python/dist/*.tar.gz
62
62
63
63
build_mac :
64
- runs-on : macos-12
64
+ runs-on : macos-13
65
65
strategy :
66
66
max-parallel : 4
67
67
matrix :
93
93
pip install pytest
94
94
pytest tests
95
95
96
- - uses : actions/upload-artifact@v3
96
+ - uses : actions/upload-artifact@v4
97
97
with :
98
- name : wheels
98
+ name : wheels-mac-py${{ matrix.python-version }}
99
99
path : ./python/dist/*.whl
100
100
101
101
build_win :
@@ -108,9 +108,9 @@ jobs:
108
108
matrix :
109
109
python-version : ["3.7", "3.8", "3.9", "3.10", "3.11"]
110
110
steps :
111
- - uses : actions/checkout@v3
111
+ - uses : actions/checkout@v4
112
112
- name : Set up Python ${{ matrix.python-version }}
113
- uses : actions/setup-python@v4
113
+ uses : actions/setup-python@v5
114
114
with :
115
115
python-version : ${{ matrix.python-version }}
116
116
architecture : " x64" # (x64 or x86)
@@ -133,9 +133,9 @@ jobs:
133
133
python -c "import wkw"
134
134
pytest tests -k "not big_read"
135
135
136
- - uses : actions/upload-artifact@v3
136
+ - uses : actions/upload-artifact@v4
137
137
with :
138
- name : wheels
138
+ name : wheels-win-py${{ matrix.python-version }}
139
139
path : ./python/dist/*.whl
140
140
141
141
publish :
@@ -147,20 +147,21 @@ jobs:
147
147
runs-on : ubuntu-latest
148
148
if : startsWith(github.event.ref, 'refs/tags')
149
149
steps :
150
- - uses : actions/checkout@v3
150
+ - uses : actions/checkout@v4
151
151
with :
152
152
fetch-depth : " 0"
153
- - name : Set up Python ${{ matrix.python-version }}
154
- uses : actions/setup-python@v4
153
+ - name : Set up Python
154
+ uses : actions/setup-python@v5
155
155
with :
156
- python-version : " 3.10 "
156
+ python-version : " 3.11 "
157
157
- name : Get wheels
158
- uses : actions/download-artifact@v3
158
+ uses : actions/download-artifact@v4
159
159
with :
160
- name : wheels
160
+ pattern : wheels-*
161
+ merge-multiple : true
161
162
path : dist
162
163
- name : Get tar.gz
163
- uses : actions/download-artifact@v3
164
+ uses : actions/download-artifact@v4
164
165
with :
165
166
name : targz
166
167
path : dist
0 commit comments