maforget / ComicRackCE

A Community Edition for the legendary Comic Book Manager ComicRack. ComicRack is back from the dead.
GNU General Public License v2.0
335 stars 33 forks source link

Adds winget publish to nightly workflow #115

Closed vikingnope closed 1 month ago

vikingnope commented 1 month ago

Do not post the secret here

As explained by the title this will start automatically creating winget manifests for you when a new version is published on GitHub.

A few things are needed, so follow these steps or else the workflow will not run:

  1. Go on your account and go to your account settings from the top-right:

image

  1. Bottom-left go to Developer Settings

image

  1. Then go to Personal Access Tokens and then Tokens (classic):

image

  1. Then click Generate new-token, and go on Generate new token (classic):

image

  1. Here as Note put: ComicRackCE Nightly Winget Releaser, Expiration set it to No Expiration (If you want to create an expiration date go ahead, but this would mean repeating this process at the end of its lifetime), and scope select the following:

image

Then just scroll down and hit Generate token, after just copy the token and keep it handy

  1. Then come back to this repository and click Settings:

image

  1. Then go to Secrets and Variables and click on Actions:

image

  1. Then click New repository secret:

image

  1. Name should be: WINGET_TOKEN and Secret should be the one you copied from before, then just click Add Secret