mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-21 16:14:23 +01:00
gha: Fix the trigger in the PyPI publication action
This commit is contained in:
4
.github/workflows/pypi.yml
vendored
4
.github/workflows/pypi.yml
vendored
@@ -50,7 +50,7 @@ jobs:
|
|||||||
python -m build --sdist --wheel --outdir dist/ .
|
python -m build --sdist --wheel --outdir dist/ .
|
||||||
|
|
||||||
- name: Publish distribution 📦 to Test PyPI
|
- name: Publish distribution 📦 to Test PyPI
|
||||||
if: github.repository == ‘ElementsProject/lightning’
|
if: github.repository == 'ElementsProject/lightning'
|
||||||
uses: pypa/gh-action-pypi-publish@master
|
uses: pypa/gh-action-pypi-publish@master
|
||||||
env:
|
env:
|
||||||
WORKDIR: ${{ matrix.WORKDIR }}
|
WORKDIR: ${{ matrix.WORKDIR }}
|
||||||
@@ -61,7 +61,7 @@ jobs:
|
|||||||
skip_existing: true
|
skip_existing: true
|
||||||
|
|
||||||
- name: Publish distribution 📦 to PyPI
|
- 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
|
uses: pypa/gh-action-pypi-publish@master
|
||||||
env:
|
env:
|
||||||
WORKDIR: ${{ matrix.WORKDIR }}
|
WORKDIR: ${{ matrix.WORKDIR }}
|
||||||
|
|||||||
Reference in New Issue
Block a user