File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 5555 output-dir : wheelhouse
5656 config-file : " pyproject.toml"
5757
58- - uses : actions/upload-artifact@v3
58+ - uses : actions/upload-artifact@v4
5959 with :
60+ name : punchboot-tools-${{ strategy.job-index }}
6061 path : ./wheelhouse/*.whl
6162
6263 build_sdist :
6869 - name : Build sdist
6970 run : pipx run build --sdist
7071
71- - uses : actions/upload-artifact@v3
72+ - uses : actions/upload-artifact@v4
7273 with :
74+ name : punchboot-tools-sdist
7375 path : dist/*.tar.gz
7476
7577 upload_pypi_test :
@@ -81,16 +83,17 @@ jobs:
8183 id-token : write
8284 if : github.repository == 'jonasblixt/punchboot' && github.event_name == 'workflow_dispatch'
8385 steps :
84- - uses : actions/download-artifact@v3
86+ - uses : actions/download-artifact@v4
8587 with :
86- name : artifact
87- path : dist
88+ pattern : punchboot-tools-*
89+ merge-multiple : true
88908991 with :
9092 user : __token__
9193 password : ${{ secrets.TEST_PYPI_API_TOKEN }}
9294 repository_url : https://test.pypi.org/legacy/
9395 skip_existing : true
96+ packages_dir : ./
9497
9598 upload_pypi :
9699 name : Upload to PyPi
@@ -101,7 +104,7 @@ jobs:
101104 id-token : write
102105 if : github.repository == 'jonasblixt/punchboot' && github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
103106 steps :
104- - uses : actions/download-artifact@v3
107+ - uses : actions/download-artifact@v4
105108 with :
106109 name : artifact
107110 path : dist
@@ -110,3 +113,4 @@ jobs:
110113 user : __token__
111114 password : ${{ secrets.PYPI_API_TOKEN }}
112115 skip_existing : true
116+ packages_dir : ./
You can’t perform that action at this time.
0 commit comments