File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ jobs:
155155 - name : Run doctest
156156 run : |
157157 python -m sphinx -b doctest -W --keep-going doc build
158- - uses : actions/upload-artifact@v3
158+ - uses : actions/upload-artifact@v4
159159 with :
160160 name : sphinx-out
161161 path : ./build/
@@ -174,9 +174,9 @@ jobs:
174174 - name : Check build artifacts
175175 run : pipx run twine check --strict dist/*
176176 - name : Save artifacts
177- uses : actions/upload-artifact@v3
177+ uses : actions/upload-artifact@v4
178178 with :
179- name : python-can-dist
179+ name : " ${{ matrix.os }}-${{ matrix. python-version }} "
180180 path : ./dist
181181
182182 upload_pypi :
@@ -186,12 +186,9 @@ jobs:
186186 # upload to PyPI only on release
187187 if : github.event.release && github.event.action == 'published'
188188 steps :
189- - uses : actions/download-artifact@v3
189+ - uses : actions/download-artifact@v4
190190 with :
191- name : python-can-dist
192191 path : dist
192+ merge-multiple : true
193193
194- - uses : pypa/gh-action-pypi-publish@v1.4.2
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