4949 runs-on : ${{ matrix.os }}
5050 strategy :
5151 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' ]
5353 include :
5454 - os : [windows-latest]
5555 arch : ["x86"]
8181 - name : Save wheel
8282 uses : actions/upload-artifact@v4
8383 with :
84+ name : my-artifacts-${{ strategy-job-index }}
8485 path : dist/*.whl
8586 if-no-files-found : error
8687
9091 runs-on : ${{ matrix.os }}
9192 strategy :
9293 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' ]
9495 include :
9596 - os : [windows-latest]
9697 arch : ["AMD64"]
@@ -122,6 +123,7 @@ jobs:
122123 - name : Save wheel
123124 uses : actions/upload-artifact@v4
124125 with :
126+ name : my-artifacts-${{ strategy-job-index }}
125127 path : dist/*.whl
126128 if-no-files-found : error
127129
@@ -136,7 +138,7 @@ jobs:
136138 id-token : write
137139 if : github.ref == 'refs/heads/main'
138140 steps :
139- - uses : actions/download-artifact@v2
141+ - uses : actions/download-artifact@v4
140142 with :
141143 name : artifact
142144 path : dist
@@ -157,10 +159,11 @@ jobs:
157159 id-token : write
158160 if : startsWith(github.ref, 'refs/tags/v')
159161 steps :
160- - uses : actions/download-artifact@v2
162+ - uses : actions/download-artifact@v4
161163 with :
162- name : artifact
164+ pattern : my-artifacts-*
163165 path : dist
166+ merge-multiple : true
164167
165168 - name : Publish package to PyPI
166169 uses : pypa/gh-action-pypi-publish@release/v1
0 commit comments