Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All builds stuck until exceeding time limit #28

Open
UpcraftLP opened this issue Mar 26, 2024 · 6 comments
Open

All builds stuck until exceeding time limit #28

UpcraftLP opened this issue Mar 26, 2024 · 6 comments

Comments

@UpcraftLP
Copy link

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
Copy link

Calinou commented Mar 28, 2024

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
Copy link
Author

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
Copy link

Calinou commented Mar 28, 2024

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
Copy link
Author

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

@Calinou
Copy link

Calinou commented Mar 28, 2024

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

Yes 🙂

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants