abarichello/godot-ci

Failing Windows build on missing template

gabeklavans opened this issue · 2 comments

Yo, trying to get the basic workflow set up, and I'm running into this error trying to get it working with Godot mono 3.2.3

ERROR: copy: Failed to open res://bin/win64/release/libgitapi.dll
savepack: end
   At: core/os/dir_access.cpp:298.
ERROR: _fs_changed: Project export failed for preset 'Windows', the export template appears to be missing.
   At: editor/editor_node.cpp:753.
reimport: end
ERROR: init_library:  does not have a library for the current platform.
   At: modules/gdnative/nativescript/nativescript.cpp:1483.
EditorSettings: Save OK!
Mono: Finalizing scripts domain...
Mono: Unloading scripts domain...
Mono: Runtime cleanup...
Mono: Finalized
Error: Process completed with exit code 1.

Anything I'm doing wrong here? All I changed from the example build yml in the main repo was the versions and changed to using the root file path instead of a subdir like test-proj

Here's a link to my workflow yml

@gabeklavans
The res://bin/win64/release/libgitapi.dll seems to be missing from anywhere in your repository.
Are you positive exporting your project works on your LOCAL device without issue?

You'll either have to add the DLL or remove the Git API from the godot.project-file.

Damn. Can't believe I missed that line. I was so focused on the missing template error, but I suppose that was just a guess by the exporter.

It's cause I had the bin/ folder ignored out of the repo, which contained only the dll's for the git plugin. Adding that to the repo fixed it!

Thanks for the help.

Now I gotta figure out how to get the auto artifact upload to work!