You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am packaging a Godot project, and would like to include extra files, namely README.md and LICENSE, in the archive.
Using this action, it's possible to do that in workflow artifacts (by simply running cp before actions/upload-artifact). However, it is not easy, or at least not obvious how to do it in releases that this action creates.
It would be lovely if godot-export had either an input to specify files to be added to the archive, or a plain shell hook to execute a user-provided script in between exporting and archiving.
The text was updated successfully, but these errors were encountered:
I like both of those ideas. The pre-archive hook would open up a ton of possibilities for further extensibility as well.
The tricky part is Mac builds are automatically exported as archived, so there needs to be additional logic to open the archive up, copy the files, then archive it again.
In the meantime, I believe you can accomplish what you want within Godot by utilizing the EditorExportPlugin API. See this comment godotengine/godot#22950 (comment)
This will allow you to copy files alongside your export during the Godot export process, which will work just fine with this action.
This action has changed quite a bit with 4.0.0. I now believe it's possible to do a lot more with this action. Feel free to reopen if this is an issue that's still worth discussing!
This is a (hopefully small) feature request.
I am packaging a Godot project, and would like to include extra files, namely
README.md
andLICENSE
, in the archive.Using this action, it's possible to do that in workflow artifacts (by simply running
cp
beforeactions/upload-artifact
). However, it is not easy, or at least not obvious how to do it in releases that this action creates.In my example use case, I would like to achieve
It would be lovely if
godot-export
had either an input to specify files to be added to the archive, or a plain shell hook to execute a user-provided script in between exporting and archiving.The text was updated successfully, but these errors were encountered: