49
49
runs-on : ${{ matrix.os }}
50
50
strategy :
51
51
matrix :
52
- python : ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11']
52
+ python : ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12' ]
53
53
include :
54
54
- os : [windows-latest]
55
55
arch : ["x86"]
79
79
python setup.py bdist_wheel --plat-name=win32
80
80
81
81
- name : Save wheel
82
- uses : actions/upload-artifact@v2
82
+ uses : actions/upload-artifact@v4
83
83
with :
84
+ name : artifacts-win32-${{ matrix.python }}
84
85
path : dist/*.whl
85
86
if-no-files-found : error
86
87
90
91
runs-on : ${{ matrix.os }}
91
92
strategy :
92
93
matrix :
93
- python : ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11']
94
+ python : ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12' ]
94
95
include :
95
96
- os : [windows-latest]
96
97
arch : ["AMD64"]
@@ -120,8 +121,9 @@ jobs:
120
121
python setup.py bdist_wheel --plat-name=win_amd64
121
122
122
123
- name : Save wheel
123
- uses : actions/upload-artifact@v2
124
+ uses : actions/upload-artifact@v4
124
125
with :
126
+ name : artifacts-win64-${{ matrix.python }}
125
127
path : dist/*.whl
126
128
if-no-files-found : error
127
129
@@ -136,10 +138,11 @@ jobs:
136
138
id-token : write
137
139
if : github.ref == 'refs/heads/main'
138
140
steps :
139
- - uses : actions/download-artifact@v2
141
+ - uses : actions/download-artifact@v4
140
142
with :
141
- name : artifact
143
+ pattern : artifacts-*
142
144
path : dist
145
+ merge-multiple : true
143
146
144
147
- name : Publish package to TestPyPI
145
148
uses : pypa/gh-action-pypi-publish@release/v1
@@ -157,10 +160,11 @@ jobs:
157
160
id-token : write
158
161
if : startsWith(github.ref, 'refs/tags/v')
159
162
steps :
160
- - uses : actions/download-artifact@v2
163
+ - uses : actions/download-artifact@v4
161
164
with :
162
- name : artifact
165
+ pattern : artifacts-*
163
166
path : dist
167
+ merge-multiple : true
164
168
165
169
- name : Publish package to PyPI
166
170
uses : pypa/gh-action-pypi-publish@release/v1
0 commit comments