From d671310f274fce9b5c43c013667a8548cbd417c2 Mon Sep 17 00:00:00 2001 From: Wout Feys Date: Thu, 23 Jan 2025 14:41:41 +0100 Subject: [PATCH] publish via github actions special environment --- .github/workflows/publish.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a5dfd4f5..32ec4c5f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -54,13 +54,8 @@ jobs: make replace_version version=${TAG_NAME#v} - name: Download binaries & build run: make build - - name: Publish to PyPI - env: - POETRY_HTTP_BASIC_PYPI_USERNAME: __token__ - POETRY_HTTP_BASIC_PYPI_PASSWORD: ${{ secrets.PYPI_TOKEN }} - run: | - poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }} - poetry publish --build + - name: Publish package distributions to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 - name: Store the distribution packages uses: actions/upload-artifact@v3 with: