File tree Expand file tree Collapse file tree 1 file changed +5
-12
lines changed
Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -138,28 +138,21 @@ jobs:
138138 needs : ["build-sdist", "build-wheels"]
139139 runs-on : ubuntu-latest
140140 steps :
141- - name : Download sdist and wheel artifacts
141+ - name : Download artifacts
142142 uses : actions/download-artifact@v4
143143 with :
144144 path : ${{ github.ref_name }}
145145 merge-multiple : true
146146
147- - name : Upload sdist to PyPI
147+ - name : Upload files to PyPI
148148 uses : pypa/gh-action-pypi-publish@release/v1
149149 with :
150150 password : ${{ secrets.PYPI_API_TOKEN }}
151- packages_dir : ${{ github.ref_name }}/sdist/
152- print_hash : true
153-
154- - name : Upload wheels to PyPI
155- uses : pypa/gh-action-pypi-publish@release/v1
156- with :
157- password : ${{ secrets.PYPI_API_TOKEN }}
158- packages_dir : ${{ github.ref_name }}/wheels/
159- print_hash : true
151+ packages-dir : ${{ github.ref_name }}
152+ print-hash : true
160153
161154 - name : Create GitHub release
162155 uses : softprops/action-gh-release@v1
163156 with :
164- files : ${{ github.ref_name }}/sdist/ *.tar.gz
157+ files : ${{ github.ref_name }}/*.tar.gz
165158 fail_on_unmatched_files : true
You can’t perform that action at this time.
0 commit comments