File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -59,14 +59,19 @@ jobs:
5959 python -m pip install -U pip setuptools
6060 python -m pip install wheel --user
6161 python setup.py sdist bdist_wheel
62+ - name : Echo Refs
63+ run : |
64+ echo "Current Branch: ${{ github.ref }}"
65+ echo "Pull Source Branch: ${{ github.head_ref }}"
66+ echo "Event Trigger Branch ${{ github.event.ref }}"
6267 - name : Publish distribution 📦 to Test PyPI
63- if : startsWith(github.event .ref, 'refs/tags')
68+ if : success() && startsWith(github.ref, 'refs/tags')
6469 uses : pypa/gh-action-pypi-publish@master
6570 with :
6671 password : ${{ secrets.test_pypi_password }}
6772 repository_url : https://test.pypi.org/legacy/
6873 - name : Publish distribution 📦 to PyPI
69- if : startsWith(github.event .ref, 'refs/tags')
74+ if : success() && startsWith(github.ref, 'refs/tags')
7075 uses : pypa/gh-action-pypi-publish@master
7176 with :
7277 password : ${{ secrets.pypi_password }}
You can’t perform that action at this time.
0 commit comments