-
-
Notifications
You must be signed in to change notification settings - Fork 380
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 #622
Conversation
Thank you. I would first like to understand if it's really necessary that I personally maintain this (I'd rather not, if possible). Couldn't that GA action run on a fork (of hyperfine, not winget - kept up to date by the pull action mentioned above) created by someone else? |
If you want the Winget package to be updated, that is. There isn't any built-in automation to Winget, unlike Scoop.
That's not how it works. The action submits a PR to https://github.com/microsoft/winget-pkgs via your winget-pkgs fork. |
@sharkdp Failed. The binaries weren't available in the releases: https://github.com/sharkdp/hyperfine/actions/runs/4424630811. Rerun the workflow again once you have added them. |
Well, the binaries are added by another GA pipeline. Maybe that pipeline can "wait" for the other one somehow? Or be delayed? |
I think I should've workflow should've been added inside https://github.com/sharkdp/hyperfine/blob/master/.github/workflows/CICD.yml instead. |
It failed again |
I have manually created a PR of the new version for now: microsoft/winget-pkgs#99531 |
Oh, I missed that part in step 2. For future PRs, I would suggest to split that into two steps. Fixed now. |
It's actually step 1 😅
|
This action automatically generates manifests for Winget Community Repository (microsoft/winget-pkgs) and submits them.
Before merging this:
public_repo
scope as a repository secret namedWINGET_TOKEN
.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).