Skip to content

Commit

Permalink
Fix deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tiran committed Jul 14, 2022
1 parent 041aa12 commit dbb1038
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.tag || github.ref }}
ref: ${{ inputs.tag || github.ref }}
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
Expand All @@ -56,9 +56,9 @@ jobs:
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
if: github.event.inputs.testpypi == true
if: inputs.testpypi || false
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_API_TOKEN }}
if: github.event.inputs.pypi == true
if: inputs.pypi || false

0 comments on commit dbb1038

Please sign in to comment.