GurliGebis / WoWAddon-AngrierWorldQuests

29 stars 14 forks source link

Attach generated zip to GitHub Releases using GitHub Actions #13

Closed JohnPeel closed 3 years ago

JohnPeel commented 3 years ago

This is a github action configuration using the BigWigs packager.

It creates an addon zip by reading the .pkgmeta file, and uploads it to GitHub Releases as an asset.

This properly solves #5 and #10.

If you provide your CurseForge api key as a secret to the action (CF_API_KEY), it will even automate releases on CurseForge when you tag them.

GurliGebis commented 3 years ago

There is already automatic publishing to curseforge when I push a tag, so I cannot see the idea of using a github action to do the same?

JohnPeel commented 3 years ago

Some people would like to not have to rely on curseforge.

Primarily this uploads a proper zip to Releases, so that other addon managers can just pull from GitHub, rather than curseforge.

GurliGebis commented 3 years ago

Let's see if it works.

GurliGebis commented 3 years ago

@JohnPeel I just pushed v0.34.0, and it looks like it has been built and uploaded correctly :)