fastfetch icon indicating copy to clipboard operation
fastfetch copied to clipboard

CI: add Winget Releaser workflow

Open sitiom opened this issue 1 year ago • 7 comments

  • Continuation of https://github.com/fastfetch-cli/fastfetch/issues/320#issuecomment-1404822340

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

Fastfetch has been added to Winget (https://github.com/microsoft/winget-pkgs/pull/154718), and this workflow will be used to update it.

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 @fastfetch-cli. 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.

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

sitiom avatar May 29 '24 06:05 sitiom

@LinusDierheimer I don't have the permission. Can you help with this?

CarterLi avatar May 29 '24 07:05 CarterLi

@CarterLi The fork-user can be set to your account instead if that's what you want

sitiom avatar May 30 '24 06:05 sitiom

I have the permission to create repos in @fastfetch-cli. I don't have the permission to add personal tokens in fastfetch repo

CarterLi avatar May 30 '24 07:05 CarterLi

I noticed that fastfetch-windows-aarch64.zip is being put manually in the releases; that would be a problem for this action which expects all assets to be available on release.

sitiom avatar Jun 07 '24 04:06 sitiom

Yeah. I haven't found a way to build windows-aarch64 binaries with Github Actions. I always build them manually.

CarterLi avatar Jun 07 '24 04:06 CarterLi

@CarterLi Made you an admin, does it work now?

LinusDierheimer avatar Jun 14 '24 20:06 LinusDierheimer

Yeah. I haven't found a way to build windows-aarch64 binaries with Github Actions.

Perhaps I should add a workflow_dispatch trigger so that you can run it manually.

sitiom avatar Jun 15 '24 02:06 sitiom

I'm happy with current situation. Closing

CarterLi avatar Jul 26 '24 02:07 CarterLi