From 9bdde91e36e18683dd654cd70d607f2e33ffc6aa Mon Sep 17 00:00:00 2001 From: Hideo Hattori Date: Wed, 29 May 2024 00:03:41 +0900 Subject: [PATCH] fix: upload pacakge to pypi --- .github/workflows/python-publish.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 01b1c8f5..8683d0b2 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -21,10 +21,11 @@ jobs: run: | python -m pip install --upgrade pip build pip install setuptools wheel twine - - name: Build and publish + - name: Build env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: | python -m build - python -m twine upload dist/* + - name: Publish distribution 📦 to PyPI + uses: pypa/gh-action-pypi-publish@release/v1