Thank you so much! This guide was extremely helpful.
Here's a few changes I had to make to get it working in Godot 4.1.1
I had to change the image because Github was not swapping in the variable for some reason.
from
barichello/godot-ci:${GODOT_VERSION}
to
barichello/godot-ci:4.1.1I also had to change the export line in Web Build since I'm on godot 4 and it needs to be headless
from godot -v --export "HTML5" ./build/web/index.html to godot --headless -v --export-release "HTML5" ./build/web/index.html
I also had to fix the templates setup for 4.1.1 so this line changed as well
from
mkdir -v -p ~/.local/share/godot/templates
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
to
mkdir -v -p ~/.local/share/godot/export_templates
mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable