File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232 --wheel
3333 --outdir dist/
3434 .
35-
36- upload_pypi :
37- needs : [build-n-publish]
38- runs-on : ubuntu-latest
39- # upload to PyPI on every tag starting with 'v'
40- if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
41- # alternatively, to publish when a GitHub Release is created, use the following rule:
42- # if: github.event_name == 'release' && github.event.action == 'published'
43- steps :
44- - uses : actions/download-artifact@v2
45- with :
46- name : artifact
47- path : dist
48-
49- - uses : pypa/gh-action-pypi-publish@master
35+ - name : Publish distribution 📦 to PyPI
36+ if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
37+ uses : pypa/gh-action-pypi-publish@master
5038 with :
51- user : __token__
5239 password : ${{ secrets.PYPI_API_TOKEN }}
53- # To test: repository_url: https://test. pypi.org/legacy/
40+ repository_url : https://pypi.org/legacy/
You can’t perform that action at this time.
0 commit comments