We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 619deed commit 5e3b36fCopy full SHA for 5e3b36f
.github/workflows/python-package.yml
@@ -25,6 +25,11 @@ jobs:
25
uses: actions/setup-python@v4
26
with:
27
python-version: ${{ matrix.python-version }}
28
+ - name: Debug Event Info
29
+ run: |
30
+ echo "Event name: ${{ github.event_name }}"
31
+ echo "Ref: ${{ github.ref }}"
32
+ echo "Is tag? ${{ startsWith(github.ref, 'refs/tags/') }}"
33
- name: Install dependencies
34
run: |
35
python -m pip install --upgrade pip
@@ -41,7 +46,7 @@ jobs:
41
46
42
47
pytest
43
48
- name: Build and publish
44
- if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
49
+ if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
45
50
env:
51
TWINE_USERNAME: __token__
52
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
0 commit comments