From 31822320a8f9e652932e5b54b955ec654ed48593 Mon Sep 17 00:00:00 2001 From: Roman Kuzmenko Date: Sat, 13 Jan 2024 01:38:26 -0800 Subject: [PATCH] An attempt to fix build on Windows --- .github/workflows/python-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-build.yml b/.github/workflows/python-build.yml index 1824195d..39405895 100644 --- a/.github/workflows/python-build.yml +++ b/.github/workflows/python-build.yml @@ -50,9 +50,9 @@ jobs: (. .venv/install/${{ env.BIN_DIR }}/activate && python -m pip install --upgrade pip build && deactivate) - name: Test building and packaging run: | - (. .venv/build/${{ env.BIN_DIR }}/activate && cd partcad && python -m build && deactivate) + (. .venv/build/${{ env.BIN_DIR }}/activate && cd partcad && python -m build && cd .. && deactivate) (. .venv/build-cli/${{ env.BIN_DIR }}/activate && python -m pip install partcad/dist/partcad-[0-9].[0-9]*.[0-9]*-py3-none-any.whl && deactivate) - (. .venv/build-cli/${{ env.BIN_DIR }}/activate && cd partcad-cli && python -m build && deactivate) + (. .venv/build-cli/${{ env.BIN_DIR }}/activate && cd partcad-cli && python -m build && cd .. && deactivate) - name: Test installation run: | (. .venv/install/${{ env.BIN_DIR }}/activate && python -m pip install partcad/dist/partcad-[0-9].[0-9]*.[0-9]*-py3-none-any.whl && deactivate)