From 48a7af76adaa472b9c85fdac7c0bc1945d4330d3 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Mon, 28 Oct 2024 11:38:40 +0500 Subject: [PATCH] Bump Blender build and simplify sun_position installation --- .github/workflows/ci-bonsai-daily.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-bonsai-daily.yml b/.github/workflows/ci-bonsai-daily.yml index 4fbbc0def2..e6d4377951 100644 --- a/.github/workflows/ci-bonsai-daily.yml +++ b/.github/workflows/ci-bonsai-daily.yml @@ -104,7 +104,7 @@ jobs: set -x -e # Download Blender. - wget -q -O blender.tar.xz https://ftp.nluug.nl/pub/graphics/blender/release/Blender4.2/blender-4.2.0-linux-x64.tar.xz + wget -q -O blender.tar.xz https://ftp.nluug.nl/pub/graphics/blender/release/Blender4.2/blender-4.2.3-linux-x64.tar.xz tar -xf blender.tar.xz # Setup Blender. @@ -147,9 +147,7 @@ jobs: # Install Sun Position extension. blender --online-mode --command extension sync - blender --online-mode --background --python-expr "import bpy; \ - bpy.ops.extensions.package_install(repo_index=0, pkg_id='sun_position'); \ - bpy.ops.preferences.addon_enable(module='bl_ext.blender_org.sun_position'); bpy.ops.wm.save_userpref()" + blender --online-mode --command extension install --enable --sync sun_position cd ../bonsai pip install pytest-blender