yeslayla / build-godot-action

GitHub action that builds a Godot project for multiple platforms
https://github.com/josephbmanley/build-godot-action
MIT License
116 stars 24 forks source link

All builds stuck until exceeding time limit #28

Open UpcraftLP opened 3 months ago

UpcraftLP commented 3 months ago

I've tried setting up this action yesterday, but it seems like nothing ever happens. There is no console log, and after 6 hours github eventually cancelled all my builds.

The project is fairly simple, so that shouldnt be the issue (however note it does use C#/.NET).
If you need more details, you can find the failed run here.


image

Calinou commented 3 months ago

It looks like the editor is running in headless mode while doing nothing. Remember to use the --export command line argument if you want the project to be exported – the editor will exit automtaically in this case.

The command line should look similar to this:

path/to/godot.binary --headless --export-release "Windows Desktop" path/to/output.exe
UpcraftLP commented 3 months ago

It looks like the editor is running in headless mode while doing nothing. Remember to use the --export command line argument if you want the project to be exported – the editor will exit automtaically in this case.

The command line should look similar to this:

path/to/godot.binary --headless --export "Windows Desktop" path/to/output.exe

The action seems to be using --export-release

Calinou commented 3 months ago

The action seems to be using --export-release

This is correct (--export is a legacy option, which acted the same as --export-release). I've edited my comment accordingly.

UpcraftLP commented 3 months ago

so.. it is doing exactly what you are suggesting already?

Calinou commented 3 months ago

so.. it is doing exactly what you are suggesting already?

Yes :slightly_smiling_face:

Try adding --quit-after 100 in the command line. This quits after 100 process iterations (which should only happen after the project is done exporting). That said, --export is supposed to have the editor close itself automatically once the project is done exporting.

UpcraftLP commented 3 months ago

but I dont have access to the process's command line..