From bbc19fc2041731f01bc4183d80a133dc041036ec Mon Sep 17 00:00:00 2001 From: dreamer <1185977+dromer@users.noreply.github.com> Date: Sun, 13 Oct 2024 11:52:40 +0200 Subject: [PATCH] add poetry build step (#201) * add poetry build step * set explicit name to artifact --- .github/workflows/build.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 088a0bc..e4e8bc1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,6 +31,32 @@ jobs: - name: Run tox run: tox + binary: + + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v3 + with: + lfs: true + submodules: true + - name: Initialize lfs + run: git lfs pull + - name: Set up Python 3.12 + uses: actions/setup-python@v5 + with: + python-version: 3.12 + - name: Install dependencies + run: | + python -m pip install --upgrade pip setuptools wheel + pip install poetry poetry-pyinstaller-plugin + - name: Build binaries + run: poetry build + + - uses: actions/upload-artifact@v4 + with: + name: heavy-binary-linux-x86_64 + path: dist/pyinstaller/manylinux_2_31_x86_64/Heavy + dispatch: needs: build strategy: