After a week of faffing I managed to fork the three repos Simon made and upgrade them from 3.x to 4.x . Very untested and maybe there's stuff there you don't need. But by gum it works! I'll slim it down in the future, and remove echo messages. Big thanks Simon for your work!
Cool to see that my work was useful for you!
Yeah, I have to update the default version to 4.x now, but you could have use the `godot-version` parameter to set it to 4.x like this
Did you test that with 4.x? Because when I did I got toooooonnnnnessss of errors. Godot changed path names on a lot of things - and there's no headless download binary, you have to use headless as a command option in the bash file settings.
Please take a look at my copy of your Godot export repo, if it helps :) took me a week to figure out the intricacies... a lot of path names changed, headless changed, the export command changed...
But then again it was my first ever GitHub action :D
I'd be interested to know what works for you, especially making sure the caching works optionally as that is out of my perview
Parent action: https://github.com/North-Street-Games/nutshells/blob/main/.g... (attach this as a main.yml file in your GitHub actions workflow folder, and change the in-file variables and your secret itch.io butler key as needed!)
Child Godot export action: (for ref) https://github.com/Kwpa/godot-html-export/tree/main
Child itch upload action: (for ref - no different to original) https://github.com/Kwpa/itchio-butler-upload
Note that 4.x Web builds currently do not run well on MacOS browser apps :/ See this: https://github.com/godotengine/godot/issues/70691