Skip to content

Commit

Permalink
Update klab-cli.yml (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbianchidev authored Jul 15, 2024
1 parent 5632496 commit 09d9987
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/klab-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ jobs:
files: dist/*
tag_name: ${{github.ref_name}}
body: "Release ${{github.ref_name}}"
- name: Publish distribution to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
repository-url: https://test.pypi.org/legacy/
- name: Publish distribution to PyPI if tagged
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
#- name: Publish distribution to Test PyPI
#uses: pypa/gh-action-pypi-publish@release/v1
#with:
#password: ${{ secrets.PYPI_API_TOKEN }}
#repository-url: https://test.pypi.org/legacy/
#- name: Publish distribution to PyPI if tagged
#if: startsWith(github.ref, 'refs/tags')
#uses: pypa/gh-action-pypi-publish@release/v1
#with:
#password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 09d9987

Please sign in to comment.