Skip to content

Commit

Permalink
Update build_blend.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
c-h-benedetti authored Aug 12, 2024
1 parent e6da58d commit acb12bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build_blend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ jobs:
mkdir blender_bin
tar -xf blender.tar.xz --strip-components=1 -C ./blender_bin
chmod u+x blender_bin/blender
sudo apt-get install -y libegl1-mesa libgl1-mesa-glx
- name: Render BLEND in PNG
run: |
for bld in $(find . -maxdepth 1 -name "*.blend"); do
echo "Rendering $bld"
./blender_bin/blender -b "$bld" -o // -f 1 && mv ./0001.png "$(basename "$bld" .blend).png"
./blender_bin/blender -noaudio -b "$bld" -o // -f 1 && mv ./0001.png "$(basename "$bld" .blend).png"
done
- name: List and upload PNGs
Expand Down

0 comments on commit acb12bd

Please sign in to comment.