Closed FlippantKitten closed 1 month ago
Thanks for this post. I believe the ..
is only needed, if your root folder is not the project folder. So removing cd $PROJECT_PATH
and replacing ..
with .
should both be done when having the project at the root.
@FlippantKitten @DarkyOMG Please take a look at https://github.com/abarichello/godot-ci/pull/157 🙂
When using Github workflows there is an issue with the export path.
When trying to build my Mono project. (after manually adding .net dependencies using the following code block
The following error is returned on compilation:
The project it was ran on was in the root of the repository (so no subfolder). This required the removal of the following line from the workflow:
cd $PROJECT_PATH
There was no mention of this in the README. My suggestion is to at least add a mention to it (along with the manual adding of the .net dependcies).This did not fix the issue. After some further digging I managed to fix my build by changing the export path from
godot --headless --verbose --export-release "Windows Desktop" ../build/mac/$EXPORT_NAME.zip
togodot --headless --verbose --export-release "Windows Desktop" ./build/mac/$EXPORT_NAME.zip
These steps combined have fixed my building issues for my Mono project that is set up in the root of my repository. I am unsure exactly if the project being in the root is the cause of the error. I added any information that might help narrow down the actual problem.