mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-23 17:14:22 +01:00
pyln: Add production publication on tag push
This commit is contained in:
15
.github/workflows/pypi.yml
vendored
15
.github/workflows/pypi.yml
vendored
@@ -47,8 +47,13 @@ jobs:
|
|||||||
repository_url: https://test.pypi.org/legacy/
|
repository_url: https://test.pypi.org/legacy/
|
||||||
packages_dir: "${{ env.WORKDIR}}/dist"
|
packages_dir: "${{ env.WORKDIR}}/dist"
|
||||||
skip_existing: true
|
skip_existing: true
|
||||||
# - name: Publish distribution 📦 to PyPI
|
- name: Publish distribution 📦 to PyPI
|
||||||
# if: startsWith(github.ref, 'refs/tags')
|
if: startsWith(github.ref, 'refs/tags')
|
||||||
# uses: pypa/gh-action-pypi-publish@master
|
uses: pypa/gh-action-pypi-publish@master
|
||||||
# with:
|
env:
|
||||||
# password: ${{ secrets.PYPI_API_TOKEN }}
|
WORKDIR: ${{ matrix.WORKDIR }}
|
||||||
|
with:
|
||||||
|
password: ${{ secrets.PYPI_API_TOKEN }}
|
||||||
|
packages_dir: "${{ env.WORKDIR}}/dist"
|
||||||
|
# We should never have a conflict here, the version tags are unique
|
||||||
|
skip_existing: false
|
||||||
|
|||||||
Reference in New Issue
Block a user