Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate this repository with GitHub Actions #11

Open
viral32111 opened this issue Apr 18, 2020 · 0 comments
Open

Automate this repository with GitHub Actions #11

viral32111 opened this issue Apr 18, 2020 · 0 comments
Assignees
Labels
Enhancement An idea for a new feature or a modification to an existing feature. Medium Priority This issue is of slight importance.

Comments

@viral32111
Copy link
Owner

viral32111 commented Apr 18, 2020

Proposed changes

  • Use GitHub actions to run a GLua Linter to verify and check code from pushed commits.
  • Use GitHub actions to automate releases by automatically compressing the addon to a .gma.

Explanation

GitHub actions allows for command-line tasks to be ran whenever events such as pushes, pull requests, new issues, drafted releases, etc, happen on the repository. There are many other addons on GitHub that already use FPtje's GLua Linter to analyise and check code that gets pushed. Whenever code containing errors is commited/pushed, GitHub actions will automatically notify the commit author and repository contributors.

To take the effort off us for compressing addon content so it's ready for the workshop, we can use GitHub actions bundled with GMad to automatically generate a .gma file whenever a new release is drafted. Meaning all we have to do is write the highlights and upload the changes to the Steam Workshop. Thankfully, this process has also been changed with the new ISteamUGC system in-place. Only content that's been changed on the .gma file has to be uploaded, so no longer do we have to upload the whole 2GB for every single update.

@viral32111 viral32111 added the Enhancement An idea for a new feature or a modification to an existing feature. label Apr 18, 2020
@viral32111 viral32111 self-assigned this Apr 18, 2020
@viral32111 viral32111 added the Medium Priority This issue is of slight importance. label Apr 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement An idea for a new feature or a modification to an existing feature. Medium Priority This issue is of slight importance.
Projects
None yet
Development

No branches or pull requests

1 participant