diff options
author | Christian Heimes <christian@python.org> | 2022-07-14 12:21:18 +0200 |
---|---|---|
committer | Christian Heimes <christian@python.org> | 2022-07-14 12:33:43 +0200 |
commit | dbb103829ff349bc50da2e943fedb48e014d29ce (patch) | |
tree | be06f049911d88832f623678bb79af8febf8a278 | |
parent | 041aa121234936f4f7c225e92c43d622769c12e3 (diff) | |
download | defusedxml-git-dbb103829ff349bc50da2e943fedb48e014d29ce.tar.gz |
-rw-r--r-- | .github/workflows/pypi.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 296e64b..c097db6 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -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: @@ -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 |