From 8e07db0f87f2e0cd543f1449a5139b7026a19e9f Mon Sep 17 00:00:00 2001 From: Andrei Betlen Date: Wed, 25 Sep 2024 14:17:04 -0400 Subject: [PATCH] fix: install build dependency --- .github/workflows/publish.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 67816ea03..bb76f5394 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -13,34 +13,36 @@ jobs: - uses: actions/checkout@v4 with: submodules: "recursive" - + - name: Set up Python uses: actions/setup-python@v5 with: python-version: "3.9" - + - name: Install dependencies (Linux/MacOS) if: runner.os != 'Windows' run: | python -m pip install --upgrade pip python -m pip install uv RUST_LOG=trace python -m uv pip install -e .[all] --verbose + python -m uv pip install build shell: bash - name: Install dependencies (Windows) if: runner.os == 'Windows' env: - RUST_LOG: trace + RUST_LOG: trace run: | python -m pip install --upgrade pip python -m pip install uv python -m uv pip install -e .[all] --verbose + python -m uv pip install build shell: cmd - + - name: Build source distribution run: | python -m build --sdist - + - name: Publish distribution to PyPI # TODO: move to tag based releases # if: startsWith(github.ref, 'refs/tags')