Skip to content

Combine test and release workflows & Add Winget Releaser #53

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

Merged
merged 4 commits into from
Sep 10, 2022
Merged

Combine test and release workflows & Add Winget Releaser #53

merged 4 commits into from
Sep 10, 2022

Conversation

sitiom
Copy link
Contributor

@sitiom sitiom commented Sep 3, 2022

This action automatically generates manifests for WinGet Community Repository (microsoft/winget-pkgs) and submits them.

I have created a PR to add PowerSession to Winget, and this workflow will be used to update it.

Before merging this:

  1. Add a PAT with public_repo scope as a repository secret named WINGET_TOKEN (or rename the secret name in the workflow).

example

  1. Fork https://github.com/microsoft/winget-pkgs under @Watfaq. The action will use that fork for making a branch and creating a PR with the upstream winget-pkgs repository on every release.
  2. Make sure the PAT owner has signed the Contributor License Agreement for winget-pkgs.

If you would like to read about this action further, the documentation is here, and the source code is 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).

Other changes:

Copy link
Member

@ibigbug ibigbug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@ibigbug ibigbug merged commit 4e8498d into Watfaq:main Sep 10, 2022
@sitiom sitiom deleted the winget-releaser branch September 10, 2022 11:18
@sitiom
Copy link
Contributor Author

sitiom commented Sep 10, 2022

@ibigbug Great, please try republishing now

@ibigbug
Copy link
Member

ibigbug commented Sep 10, 2022

@ibigbug
Copy link
Member

ibigbug commented Sep 10, 2022

@sitiom looks like it worked https://github.com/microsoft/winget-pkgs/compare/master...Watfaq:winget-pkgs:Watfaq.PowerSession-0.1.7-8284D0C5832904?expand=1

@sitiom
Copy link
Contributor Author

sitiom commented Sep 28, 2022

@ibigbug I forgot an extra step: You should keep the fork regularly updated with Pull. Otherwise, it will eventually try to update the old workflows without the workflow scope, resulting in an error.

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.

PowerSession does not work properly
2 participants