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 acb12bd commit fe4aee2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build_blend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,13 @@ jobs:
- name: Render BLEND in PNG
run: |
export MESA_GL_VERSION_OVERRIDE=3.3
for bld in $(find . -maxdepth 1 -name "*.blend"); do
echo "Rendering $bld"
./blender_bin/blender -noaudio -b "$bld" -o // -f 1 && mv ./0001.png "$(basename "$bld" .blend).png"
done
env:
DISPLAY: ":0"

- name: List and upload PNGs
run: |
Expand Down

0 comments on commit fe4aee2

Please sign in to comment.