[FEATURE]
/* Description: */
Also moves all nodejs stuff into `tools` package.
Also adds a basic `CONTRIBUTING.md` file.
Superseeds https://github.com/Nomi-CEu/Nomi-CEu/pull/431, which was closed as the branch needed to be renamed, due to the last two items on this list.
TODO:
- [x] Make it only run on master repo.
- [x] Remove qb-lang-revamp branch from the events
- [x] Allow workflow to run on all branches starting with test_buildscript?
/* Commits: */
* Buildscript Changes
* Make Contributing Docs a .md file
* updateqb.yml v1
* Test QB change
* Add lang file to commit file list
* Another Test Change
* Test with only lang path, + `./` at beginning of path
* Test QB change
* updateqb.yml v3
* Test QB Change
* Add some debug settings
* Remove debug, branch input. Switch to auto-commit action
* Make activate: branches prefix `test_buildscript`, commit author GHA bot
* Add branch prefix note into CONTRIBUTING.md
* Make workflow only run if on master repo
Merged changes from https://github.com/Nomifactory/Nomifactory/tree/dev/buildtools made after February 2022 (when I helped @tracer4b get the build scripts at the time set up).
CurseForge subsequently did its API changes so the old scripts don't work anymore.
You will need to create a Secret called CFCORE_API_TOKEN which contains the CurseForge API authentication token you wish to use (for https://api.curseforge.com). When running build scripts locally, you need to have an environment variable set with the same name and value.
This token allows the script to download mod jars required for building the server zip. Without this token, at the very least mods that disallow third-party downloads would return blank download links and that build target would fail. It might be needed to use the API at all, but @NotMyWing is our CICD author and resident expert, so I would defer to him on details.
/* Commits */
* Switch API calls to CFCore (#914)
Necessary to continue using the CurseForge API.
* Propagate the CFCore token to GHA
* Move download URL forging to fetchFileInfo
* Add CurseForge Beta deployment workflow (#944)
---------
Co-authored-by: Neeve <winwyv@gmail.com>