Skip to content

Commit 3d0368e

Browse files
Switch to twine as the pypa action seems to be broken
1 parent 7f7bfb5 commit 3d0368e

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

action.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,14 @@ runs:
121121
122122
- name: Push to PyPI
123123
if: (steps.get-versions.outputs.new-version == 'true') && (steps.test-sdist.outputs.result == 'true') && (steps.test-bdist-wheel.outputs.result == 'true')
124-
uses: pypa/gh-action-pypi-publish@v1.12.2
125-
with:
126-
user: ${{ inputs.pypi-user }}
127-
password: ${{ inputs.pypi-token }}
128-
124+
env:
125+
TWINE_USERNAME: ${{ inputs.pypi-user }}
126+
TWINE_PASSWORD: ${{ inputs.pypi-token }}
127+
shell: bash
128+
run: |
129+
python -m pip install twine
130+
python -m twine upload dist/*
131+
129132
- name: Tag
130133
if: (steps.get-versions.outputs.new-version == 'true') && (steps.test-sdist.outputs.result == 'true') && (steps.test-bdist-wheel.outputs.result == 'true')
131134
shell: bash

0 commit comments

Comments
 (0)