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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Winget Releaser workflow #75

Merged
merged 1 commit into from
Jan 31, 2023
Merged

Add Winget Releaser workflow #75

merged 1 commit into from
Jan 31, 2023

Conversation

sitiom
Copy link
Contributor

@sitiom sitiom commented Jan 31, 2023

This action automatically generates manifests for the Winget Community Repository (microsoft/winget-pkgs).

Before merging this:

  1. Add a PAT with public_repo scope as a repository secret named WINGET_TOKEN.

example

  1. Fork https://github.com/microsoft/winget-pkgs under @localsend. 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.

Important: The MSIX file has to be available when you make a release for the workflow to detect it.

The documentation and source code of the action is available here.

If you want to see an example of a PR created using this action, see microsoft/winget-pkgs/pulls (Pull request has been automatically created using 馃洬 WinGet Releaser).

@Tienisto
Copy link
Member

Thanks for the nice tutorial. I have created a token with access to public repos. After finish, it looks like this:

grafik

I also forked this repo and installed the app. Is this all. Do I need to configure in the repo settings something?

@Tienisto
Copy link
Member

I also added this to the repository secrets:

grafik

@Tienisto Tienisto merged commit a4055d1 into localsend:main Jan 31, 2023
@sitiom sitiom deleted the winget-releaser branch February 1, 2023 01:18
@sitiom
Copy link
Contributor Author

sitiom commented Feb 1, 2023

Yeah, I think you did it right. Make sure WINGET_TOKEN is in this repo and not in the fork.

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.

None yet

2 participants