File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ jobs:
155
155
- name : Run doctest
156
156
run : |
157
157
python -m sphinx -b doctest -W --keep-going doc build
158
- - uses : actions/upload-artifact@v3
158
+ - uses : actions/upload-artifact@v4
159
159
with :
160
160
name : sphinx-out
161
161
path : ./build/
@@ -174,9 +174,9 @@ jobs:
174
174
- name : Check build artifacts
175
175
run : pipx run twine check --strict dist/*
176
176
- name : Save artifacts
177
- uses : actions/upload-artifact@v3
177
+ uses : actions/upload-artifact@v4
178
178
with :
179
- name : python-can-dist
179
+ name : " ${{ matrix.os }}-${{ matrix. python-version }} "
180
180
path : ./dist
181
181
182
182
upload_pypi :
@@ -186,12 +186,9 @@ jobs:
186
186
# upload to PyPI only on release
187
187
if : github.event.release && github.event.action == 'published'
188
188
steps :
189
- - uses : actions/download-artifact@v3
189
+ - uses : actions/download-artifact@v4
190
190
with :
191
- name : python-can-dist
192
191
path : dist
192
+ merge-multiple : true
193
193
194
-
195
- with :
196
- user : __token__
197
- password : ${{ secrets.PYPI_API_TOKEN }}
194
+ - uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments