-
Notifications
You must be signed in to change notification settings - Fork 18
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
Github Action to update winget package on release #141
Comments
Thanks for doing that! |
Great, thanks for doing it! Will tell you once the PR gets merged. Probably no need to setup the Github Action before that. |
PR merged! Package available via a standard Since it uses Portable file, Blender-Launcher ends-up in Also, the Here is another example github action workflow based on winget-releaser if you want to apply it to Blender-Launcher! |
Following issue Victor-IX#141 Uses [winget-releaser](https://github.com/vedantmgoyal9/winget-releaser) I suggest you ( @Victor-IX) create a `Classic Github Token` with `public_repo` scope is created, following [this link](https://github.com/settings/tokens/new), then the Token can be added to the Blender-Launcher-V2 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 #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.
Hi there, just made a quick PR as the basis for that github action: #142 |
Following issue #141 Uses [winget-releaser](https://github.com/vedantmgoyal9/winget-releaser) I suggest you ( @Victor-IX) create a `Classic Github Token` with `public_repo` scope is created, following [this link](https://github.com/settings/tokens/new), then the Token can be added to the Blender-Launcher-V2 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 #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.
Is your feature request related to a problem? Please describe.
I've just submitted a PR microsoft/winget-pkgs#172582 so that BlenderLauncher gets listed and can be installed on windows via
winget install blender-launcher
orwinget install VictorIX.BlenderLauncher
. I've used Komac to create the manifest files available in the PR - crediting your github profile, name etc.It could be useful to add a github action on this repo so that the winget blender-launcher package gets updated on every github release.
Describe the solution you'd like
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.
Describe alternatives you've considered
Once the initial PR gets merged, anyone can update the BlenderLauncher package. But having a github action do it on every release would make sure the winget repo always has the latest version available
The text was updated successfully, but these errors were encountered: