Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Modding Releases & Resources
  3. [Release] Automatically Compile and Release GSC projects via GitHub Actions

[Release] Automatically Compile and Release GSC projects via GitHub Actions

Scheduled Pinned Locked Moved BO2 Modding Releases & Resources
5 Posts 3 Posters 686 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Chaseundefined Offline
    Chaseundefined Offline
    Chase
    wrote on last edited by
    #1

    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

    1. Ensure you have a GitHub Account and are logged in.
    2. Press Use this template.
    3. 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.

    img

    Changing the Release Title

    img

    1. Change Line #26 in .github\workflows\main.yml.

    Changing the Release Tag

    1. Change Line #24 in .github\workflows\main.yml.

    Changing the Branch compilation runs on

    1. Change Line #4 in .github\workflows\main.yml.

    Credits

    @marvinpinto's action-automatic-releases GitHub Action

    JezuzLizardundefined Nightmare Fredundefined 2 Replies Last reply
    8
    • JezuzLizardundefined Offline
      JezuzLizardundefined Offline
      JezuzLizard Plutonium Staff
      replied to Chase on last edited by
      #2

      Chase I'm going to use this in all my projects so I don't have to create a build manually anymore lol

      Chaseundefined 1 Reply Last reply
      0
      • Chaseundefined Offline
        Chaseundefined Offline
        Chase
        replied to JezuzLizard on last edited by
        #3

        JezuzLizard Glad to hear!

        1 Reply Last reply
        0
        • Nightmare Fredundefined Offline
          Nightmare Fredundefined Offline
          Nightmare Fred
          replied to Chase on last edited by
          #4

          Chase what is that releases file do is it for black ops 2 or something else?

          Chaseundefined 1 Reply Last reply
          0
          • Chaseundefined Offline
            Chaseundefined Offline
            Chase
            replied to Nightmare Fred on last edited by
            #5

            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.

            1 Reply Last reply
            0

            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Donate