daynix / UsbDk

Usb Drivers Development Kit for Windows
Apache License 2.0
522 stars 142 forks source link

Add Winget Releaser workflow #118

Open sitiom opened 1 year ago

sitiom commented 1 year ago

This action automatically generates manifests for Winget Community Repository (microsoft/winget-pkgs) and submits them.

UsbDk is available via Winget, and this workflow will be used to keep it up to date.

Before merging this:

  1. Add a classic PAT with public_repo scope as a repository secret named WINGET_TOKEN. You can go to this URL to create it: https://github.com/settings/tokens/new?scopes=public_repo

example

  1. Fork https://github.com/microsoft/winget-pkgs under @daynix . The action will use that fork for making a branch and creating a PR with the upstream winget-pkgs repository on every release.
  2. Install Pull on the winget-pkgs fork to ensure that it is constantly updated.

You can test out the action inputs in this playground.

If you want to see an example of a PR created using this action, see microsoft/winget-pkgs/pulls (Pull request has been created with WinGet Releaser).

YanVugenfirer commented 1 year ago

Hi @sitiom,

Thank you for submitting the patches.

  1. Please use "Signed-off-by: Real Name " in commit messages
  2. Can you please point to the PR with winger manifest? Specifically I want to understand how winget will install and uninstall USBDK
  3. What binaries winget will use?

Best regards, Yan.

sitiom commented 1 year ago

1. Please use "Signed-off-by: Real Name " in commit messages

Done.

2. Can you please point to the PR with winger manifest? Specifically I want to understand how winget will install and uninstall USBDK 3. What binaries winget will use?

Winget will download and run the installer from the official source—the URLs in the manifest point to the ones from the GitHub releases. If you have Winget, you can test installing it yourself: winget install daynix.UsbDk