From aaef6b353cab83d44cdf98977aaf8e126252154d Mon Sep 17 00:00:00 2001 From: Barabazs <31799121+Barabazs@users.noreply.github.com> Date: Fri, 3 May 2024 13:33:05 +0200 Subject: [PATCH] chore: configure Poetry for publishing to PyPI in CI workflow (#11) --- .github/workflows/build-and-release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 4979e6f..fda0387 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -23,7 +23,9 @@ jobs: poetry install - name: Poetry publish - run: poetry publish --build + run: | + poetry config pypi-token.pypi "${{ secrets.PYPI_API_TOKEN }}" + poetry publish --build - name: Release to Github uses: softprops/action-gh-release@v1