From 3a472de0e3abdc9f556417d2c95f71265a2fb5bc Mon Sep 17 00:00:00 2001 From: ducdetronquito Date: Mon, 14 Oct 2024 21:12:33 +0200 Subject: [PATCH] feat(ci): Enable manual release workflow to publish to PyPI --- .github/workflows/manual_release.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/manual_release.yml b/.github/workflows/manual_release.yml index 9905c5a..b95ca8d 100644 --- a/.github/workflows/manual_release.yml +++ b/.github/workflows/manual_release.yml @@ -38,8 +38,7 @@ jobs: - name: See whats have been build run: ls -al pyright_alright/pyright/dist - # - name: Publish on PyPI - # run: poetry run twine upload dist/* - # env: - # TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }} - # TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} + - name: Publish on PyPI + run: | + poetry config pypi-token.pypi ${{ secrets.TWINE_PASSWORD }} + poetry publish