-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Github Action to update winget package on release for Triplex.Triplex
#218
Comments
Oh hey mate, can you tell me more about what winget is? Is it like homebrew for macOS? |
Exactly, it's the default windows package manager, that has shipped natively with windows for a few years. Makes it easier to install a bunch of apps in one command, or also rely on apps like UnigetUI/formerly WingetUI. Helper webapps like winstall.app make it easier to package lists. |
Interesting! TIL. @krispya have you used it? Is raising a PR the canonical way of getting updates into it? Ideally the flow would be:
|
Did you cross this out because Triplex doesn't currently ship a portable install? For clarity I did that because I want to make sure folks continue getting updates. |
I'd be happy to accept a contribution to this repo to set this all up. As a side have you been added to the vscode early adopters channel? What's your Discord name I'll add you. |
Thabks for the feedback.
|
Come join first https://discord.gg/22fQ9acT |
Want to put up a PR to add the Github action? Where do we get a |
Following issue https://github.com/try-triplex/triplex/issues/218 Uses [winget-releaser](https://github.com/vedantmgoyal9/winget-releaser) I suggest a `Classic Github Token` with `public_repo` scope is created, following [this link](https://github.com/settings/tokens/new), for the user [triplex-bot](https://github.com/triplex-bot), then the Token can be added to the triplex 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. Review trytriplex#172 for information. > Fork [microsoft/winget-pkgs](https://github.com/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.
Just submitted this as a PR https://github.com/try-triplex/triplex/pull/220 And also I just joined the triplex discord - although I'm not using it often! |
Done! Thanks mate. |
Glad it worked! |
I've just submitted a PR - now merged 🚀 - microsoft/winget-pkgs#172824 so that Triplex had been listed and can be installed on windows via
winget install triplex
orwinget install Triplex.Triplex
. I've used Komac to create the manifest file, crediting your github profile, name etc.It could be useful to add a Github Action workflow on this repo so that the winget package gets updated on every github release. Having a github action do it on every release would make sure the winget repo always has the latest version available.
Note I did the same request for github action workflow for BlenderLauncher which I also added to winget-pkgs, see Victor-IX/Blender-Launcher-V2#141.
Here are two reference articles + action yml files made to keep the winget package up-to-date on every github release, via Github Actions. Requires a winget-token to be stored in security of the repo.
Note installer might install portable app toC:\Users\username\AppData\Local\Microsoft\WinGet\Packages
and not add it to start-menu entries, see microsoft/winget-cli#2299The text was updated successfully, but these errors were encountered: