diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 93d08fb7..6268b8c0 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,3 +9,7 @@ updates: - dependency-name: regex versions: - 1.4.4 +- package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 1c8a9061..564b9d28 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -98,6 +98,18 @@ jobs: - uses: dtolnay/rust-toolchain@stable - run: cargo publish --token ${{ secrets.CARGO_API_KEY }} --allow-dirty + publish-to-winget: + name: Publish to WinGet + runs-on: windows-latest # Action can only be run on windows + needs: publish + steps: + - uses: vedantmgoyal2009/winget-releaser@v2 + with: + identifier: dandavison.delta + version: ${{ github.ref_name }} + installers-regex: '-pc-windows-msvc\.zip$' + token: ${{ secrets.WINGET_TOKEN }} + bump-homebrew-formula: runs-on: macos-latest steps: diff --git a/manual/src/installation.md b/manual/src/installation.md index 6c722697..5f20e5ef 100644 --- a/manual/src/installation.md +++ b/manual/src/installation.md @@ -68,6 +68,10 @@ Note that the package is often called `git-delta`, but the executable installed Windows (Scoop) scoop install delta + + Windows (Winget) + winget install dandavison.delta + Debian / Ubuntu