gha: Fix the trigger in the PyPI publication action

This commit is contained in:
Christian Decker 2021-10-06 15:56:34 +02:00
parent 284a6a9024
commit 24e60055bc

View file

@ -50,7 +50,7 @@ jobs:
python -m build --sdist --wheel --outdir dist/ .
- name: Publish distribution πŸ“¦ to Test PyPI
if: github.repository == β€˜ElementsProject/lightning’
if: github.repository == 'ElementsProject/lightning'
uses: pypa/gh-action-pypi-publish@master
env:
WORKDIR: ${{ matrix.WORKDIR }}
@ -61,7 +61,7 @@ jobs:
skip_existing: true
- name: Publish distribution πŸ“¦ to PyPI
if: startsWith(github.ref, 'refs/tags') && github.repository == β€˜ElementsProject/lightning’
if: startsWith(github.ref, 'refs/tags') && github.repository == 'ElementsProject/lightning'
uses: pypa/gh-action-pypi-publish@master
env:
WORKDIR: ${{ matrix.WORKDIR }}