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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Add Winget Releaser workflow #208

Merged
merged 3 commits into from
Feb 16, 2023
Merged

ci: Add Winget Releaser workflow #208

merged 3 commits into from
Feb 16, 2023

Conversation

sitiom
Copy link
Contributor

@sitiom sitiom commented Feb 13, 2023

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

gdu is available in Winget (winget package) but is outdated. I have manually created a PR to update it for now (microsoft/winget-pkgs#96456), but this workflow should automatically keep it up to date for the new versions.

Before merging this:

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

example

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

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 automatically created using 🛫 WinGet Releaser).

@coveralls
Copy link

coveralls commented Feb 16, 2023

Pull Request Test Coverage Report for Build 4159829999

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.5%) to 95.982%

Totals Coverage Status
Change from base Build 4112348461: 0.5%
Covered Lines: 2508
Relevant Lines: 2613

💛 - Coveralls

@codecov
Copy link

codecov bot commented Feb 16, 2023

Codecov Report

Base: 94.07% // Head: 94.10% // Increases project coverage by +0.03% 🎉

Coverage data is based on head (6f07bfe) compared to base (0a92b13).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #208      +/-   ##
==========================================
+ Coverage   94.07%   94.10%   +0.03%     
==========================================
  Files          29       29              
  Lines        2733     2733              
==========================================
+ Hits         2571     2572       +1     
+ Misses        124      123       -1     
  Partials       38       38              
Impacted Files Coverage Δ
report/export.go 92.50% <0.00%> (+0.62%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@dundee
Copy link
Owner

dundee commented Feb 16, 2023

Thanks for your PR!

@dundee dundee merged commit 7adf649 into dundee:master Feb 16, 2023
@sitiom sitiom deleted the winget-releaser branch February 17, 2023 00:31
@sitiom
Copy link
Contributor Author

sitiom commented Apr 9, 2023

@dundee https://github.com/dundee/gdu/actions/runs/4647275371/jobs/8224182171
Winget Releaser workflow failed. Did you forget to put the WINGET_TOKEN secret in this repo?
image

I have manually created a PR for now: microsoft/winget-pkgs#102030.

@dundee
Copy link
Owner

dundee commented Apr 12, 2023

I have somehow miseed the step. Fixed. Thanks!

@dundee
Copy link
Owner

dundee commented Apr 12, 2023

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.

3 participants