diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 000000000..615dfde20 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,10 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" + - package-ecosystem: "gomod" + directory: "/" + schedule: + interval: "daily" diff --git a/.github/workflows/winget.yml b/.github/workflows/winget.yml new file mode 100644 index 000000000..9d31e04cd --- /dev/null +++ b/.github/workflows/winget.yml @@ -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 }} diff --git a/README.md b/README.md index ac0bbc899..f9bf0fe01 100644 --- a/README.md +++ b/README.md @@ -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 ```