From 4ec14c9c8575668abde0f708fce60c15ef1ced97 Mon Sep 17 00:00:00 2001 From: Santiago Castro Date: Tue, 8 Oct 2024 10:53:28 -0700 Subject: [PATCH] Bring back the usage of passwords when publishing. Until it's supported by Poetry. See https://github.com/python-poetry/poetry/issues/7940 --- .github/workflows/publish.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 91956a0..4d3d8a4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,4 +14,7 @@ jobs: - name: Set up Poetry uses: abatilo/actions-poetry@v3 - name: Build and publish + env: + POETRY_HTTP_BASIC_PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }} + POETRY_HTTP_BASIC_PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: poetry publish --build