[Release] Automatically Compile and Release GSC projects via GitHub Actions
-
Auto Compile GSC Scripts & Release via GitHub Actions
When you commit to your repository, GitHub Actions will automatically compile and release your GSC.
This is really nice because you can have one link that will always be up to date with whatever you change, like this:
https://github.com/ChxseH/GSC-AutoCompile/releases/download/latest/release.zip
How to Use
- Ensure you have a GitHub Account and are logged in.
- Press Use this template.
- Place any amount of GSC into
src\gsc
. (Subdirectories are supported)
Customization
Changing the default behavior / released file name
By default, GitHub Actions will compile every GSC file in
src\gsc
(and subdirectories) on it's own and ZIP them all up and release it.If you prefer to have everything compiled and released as one GSC file, see
.github\workflows\main.yml
's lines #14-20. (Note that subdirectories are not supported in this mode)Also see those same lines if you want to change the released file name.
Changing the Release Title
- Change Line #26 in
.github\workflows\main.yml
.
Changing the Release Tag
- Change Line #24 in
.github\workflows\main.yml
.
Changing the Branch compilation runs on
- Change Line #4 in
.github\workflows\main.yml
.
Credits
-
Chase I'm going to use this in all my projects so I don't have to create a build manually anymore lol
-
JezuzLizard Glad to hear!
-
Chase what is that releases file do is it for black ops 2 or something else?
-
Nightmare Fred This project is aimed towards people who make their own mods, the template allows you to automatically compile and release onto github for GSC mods.