Skip to content

Add winget-releaser github action workflow to auto publish winget package updates #103

Description

@jo-chemla

I submitted a CNRISTI.RelightLab package to the winget repository for RelightLab GUI and it just got merged, so it can now be installed on windows with a simple:

winget install CNRISTI.RelightLab

It might be useful to add a github action workflow to this repo following CreateRelease, which would automatically publish the updated winget package.

The standard way to do it is to use winget-releaser (which uses Komac). It requires a Classic Github Personal Access Token with public_repo scope is created, following this link, then the Token can be added to the repo as a secret named WINGET_ACC_TOKEN. See below, that user also will have to fork the winget-pkgs repository.

Notes:
You will need to create a classic Personal Access Token (PAT) with public_repo scope. New fine-grained PATs aren't supported by the action.
Fork microsoft/winget-pkgs under the same account/organization as the project's repository. If you are forking winget-pkgs on a different account (e.g. bot/personal account), you can use the fork-user input to specify the username of the account where the fork is present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions