Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Winget Releaser workflow #118

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

sitiom
Copy link

@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
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.

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
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

@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.

README.md Outdated Show resolved Hide resolved
Co-authored-by: Viktor Prutyanov <vvprutyanov@gmail.com>
Signed-off-by: sitiom <sitiom@proton.me>
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