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"]
81
81
- name : Save wheel
82
82
uses : actions/upload-artifact@v4
83
83
with :
84
+ name : my-artifacts-${{ strategy-job-index }}
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"]
@@ -122,6 +123,7 @@ jobs:
122
123
- name : Save wheel
123
124
uses : actions/upload-artifact@v4
124
125
with :
126
+ name : my-artifacts-${{ strategy-job-index }}
125
127
path : dist/*.whl
126
128
if-no-files-found : error
127
129
@@ -136,7 +138,7 @@ 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
143
name : artifact
142
144
path : dist
@@ -157,10 +159,11 @@ jobs:
157
159
id-token : write
158
160
if : startsWith(github.ref, 'refs/tags/v')
159
161
steps :
160
- - uses : actions/download-artifact@v2
162
+ - uses : actions/download-artifact@v4
161
163
with :
162
- name : artifact
164
+ pattern : my-artifacts-*
163
165
path : dist
166
+ merge-multiple : true
164
167
165
168
- name : Publish package to PyPI
166
169
uses : pypa/gh-action-pypi-publish@release/v1
0 commit comments