From 0a1bddd99e637a7435d0d50760e43c593a2e38aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0ar=C5=ABnas=20Nejus?= Date: Fri, 14 Jun 2024 22:16:31 +0100 Subject: [PATCH] Release workflow: Use poetry to build the package --- .github/workflows/make_release.yaml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.github/workflows/make_release.yaml b/.github/workflows/make_release.yaml index eac16a1b5..48b299ca4 100644 --- a/.github/workflows/make_release.yaml +++ b/.github/workflows/make_release.yaml @@ -37,22 +37,17 @@ jobs: message: "Increment version to ${{ env.NEW_VERSION }}" build: + name: Build the distribution packages runs-on: ubuntu-latest needs: increment-version steps: - uses: actions/checkout@v4 - with: - fetch-depth: 0 - ref: master - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: "3.9" - - run: pip install build wheel sphinx + - name: Install Python tools + uses: BrandonLWhite/pipx-install-action@v0.1.1 + - name: Build a binary wheel and a source tarball - env: - TZ: UTC - run: python3 -m build + run: poetry build + - name: Store the distribution packages uses: actions/upload-artifact@v3 with: