If you want to give players the ability to download the newest and freshest release of your mod, you're gonna wanna set up this build ci script.
Paste the script below into .github/workflows and create a spplice manifest in /. A example for a manifest.json is attached as well.
There's not a lot to configure. Here's what you can change:
- change
on: [push]toon: [push, pull_request]if you want the script to run when a pull request is created. - add
submodules: trueto thewith:block in the step "Checkout repository", if you have added submodules to your project - expand the excluded files using
--exclude <wildcard>in the step "Create inner archive", if you have any more files you don't want to pack into the final spplice package (such as README.md and LICENSE.md)