Skip to content

Commit

Permalink
ci: Add Winget Releaser workflow (#208)
Browse files Browse the repository at this point in the history
* ci: Add Winget Releaser workflow

* docs: add winget installation method

* ci: add dependabot
  • Loading branch information
sitiom authored Feb 16, 2023
1 parent 0a92b13 commit 7adf649
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "daily"
14 changes: 14 additions & 0 deletions .github/workflows/winget.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Publish to Winget
on:
release:
types: [released]

jobs:
publish:
runs-on: windows-latest # Action can only run on Windows
steps:
- uses: vedantmgoyal2009/winget-releaser@v2
with:
identifier: dundee.gdu
installers-regex: '_windows_[\w.]+\.zip$'
token: ${{ secrets.WINGET_TOKEN }}
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ Using curl:

go install github.com/dundee/gdu/v5/cmd/gdu@latest

[Winget](https://github.com/microsoft/winget-pkgs/tree/master/manifests/d/dundee/gdu):

winget install gdu

## Usage

```
Expand Down

0 comments on commit 7adf649

Please sign in to comment.