Skip to content

Add Winget Releaser workflow#118

Open
sitiom wants to merge 6 commits intodaynix:masterfrom
sitiom:winget-releaser
Open

Add Winget Releaser workflow#118
sitiom wants to merge 6 commits intodaynix:masterfrom
sitiom:winget-releaser

Conversation

@sitiom
Copy link
Copy Markdown

@sitiom sitiom commented Mar 2, 2023

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
Copy link
Copy Markdown
Collaborator

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 added 3 commits March 13, 2023 21:43
Signed-off-by: Ryan Caezar Itang <sitiom@proton.me>
Signed-off-by: Ryan Caezar Itang <sitiom@proton.me>
Signed-off-by: Ryan Caezar Itang <sitiom@proton.me>
@sitiom
Copy link
Copy Markdown
Author

sitiom commented Mar 13, 2023

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

Copy link
Copy Markdown

@viktor-prutyanov viktor-prutyanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@YanVugenfirer I have made steps 2 and 3. Step 1 can only be done by you.

Comment thread README.md Outdated
Co-authored-by: Viktor Prutyanov <vvprutyanov@gmail.com>
Signed-off-by: sitiom <sitiom@proton.me>
sitiom added 2 commits August 17, 2023 14:47
Winget Releaser now supports non-Windows runners, and `ubuntu-latest` is generally faster.

Signed-off-by: sitiom <sitiom@proton.me>
Signed-off-by: Ryan <sitiom@proton.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants