Skip to content

Commit 1faa030

Browse files
committed
removing check to make sure publishing works
1 parent 9bd0b92 commit 1faa030

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/python-publish.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
publish-to-pypi:
8080
name: >-
8181
Publish Python 🐍 distribution 📦 to PyPI
82-
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
82+
if: ${{ github.ref_type == 'tag' }}
8383
needs:
8484
- build
8585
runs-on: ubuntu-latest
@@ -97,10 +97,7 @@ jobs:
9797
path: dist/
9898

9999
- name: Publish distribution 📦 to PyPI
100-
uses: pypa/gh-action-pypi-publish@release/v1
101-
# with:
102-
# user: __token__
103-
# password: ${{ secrets.pypi_password }}
100+
uses: pypa/gh-action-pypi-publish@release/v1.12
104101

105102
github-release:
106103
name: >-

0 commit comments

Comments
 (0)