diff --git a/.github/workflows/build-vtk.yml b/.github/workflows/build-vtk.yml index 9eebbe6..371f379 100644 --- a/.github/workflows/build-vtk.yml +++ b/.github/workflows/build-vtk.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Checkout project - uses: actions/checkout@v2 + uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: @@ -44,7 +44,11 @@ jobs: run: | pip3 install --upgrade setuptools mkdir -p ./vtk/build - wget https://www.vtk.org/files/release/9.2/VTK-9.2.6.tar.gz # Update this for newer releases of VTK + if [ "$RUNNER_OS" == "Windows"]; then + bitsadmin /addfile job1 https://www.vtk.org/files/release/9.2/VTK-9.2.6.tar.gz "${PWD}\\VTK-9.2.6.tar.gz" # Update this for newer releases of VTK + else + wget https://www.vtk.org/files/release/9.2/VTK-9.2.6.tar.gz # Update this for newer releases of VTK + fi tar -zxf VTK-9.2.6.tar.gz --directory ./vtk/ cd ./vtk/build cmake -GNinja -DVTK_WHEEL_BUILD=ON -DVTK_WRAP_PYTHON=ON -DCMAKE_BUILD_TYPE=Release ../VTK-9.2.6 diff --git a/.github/workflows/build-wheel.yml b/.github/workflows/build-wheel.yml index 93e77ca..1e7ceeb 100644 --- a/.github/workflows/build-wheel.yml +++ b/.github/workflows/build-wheel.yml @@ -35,7 +35,7 @@ jobs: # ls -ld /tmp/vtk-wheels/*-cp${{ matrix.python-version }}/vtk-*.whl - name: Checkout project - uses: actions/checkout@v2 + uses: actions/checkout@v4 # See https://cibuildwheel.readthedocs.io/en/stable/ # Not usable for now, because cadquery libraries require glibc 2.31,