name: Build Godot Project (Linux) on: [push] jobs: build-linux: # Use standard Ubuntu runner environment (has Node.js for checkout & upload actions) runs-on: ubuntu-latest steps: - name: Check out repository code uses: actions/checkout@v4 - name: Export Linux Binary via Godot Container # This forces just THIS step to run inside the Godot container uses: docker://barichello/godot-ci:4.3 with: # We manually tell the container what commands to run args: | mkdir -v -p ~/.local/share/godot/export_templates/ ln -s /root/.local/share/godot/export_templates/* ~/.local/share/godot/export_templates/ mkdir -v -p build/linux godot --headless --export-release "Linux" build/linux/godot_number_factory.x86_64 - name: Upload Linux Build Artifact uses: actions/upload-artifact@v4 with: name: linux-build path: build/linux/