From 9cbb3685f898bda2dd5510196dce5eace1c0ed4e Mon Sep 17 00:00:00 2001 From: Claas Date: Sun, 11 Jun 2023 11:55:40 +0200 Subject: [PATCH] Try out custom publish --- .github/workflows/pypi-publish.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 8a0ac70..a97ca16 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -23,8 +23,14 @@ jobs: steps: - name: 🛎️ Checkout uses: actions/checkout@v3 - - name: 📦🛫 Build and publish to pypi - uses: JRubics/poetry-publish@v1.17 + - name: Set up Python + uses: actions/setup-python@v3 with: - pypi_token: ${{ secrets.PYPI_API_TOKEN }} - ignore_dev_requirements: "yes" + python-version: '3.x' + - name: 🧑‍🎨 Install poetry + run: pip install poetry + - name: 📦🛫 Build and publish to pypi + run: | + python -m build + poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }} + poetry publish -- knotmirror 0.0.1