mirror of
https://github.com/dandavison/delta.git
synced 2024-11-27 13:55:08 +03:00
Add Winget Releaser workflow (#1331)
* Add Winget installation in the docs * Add GitHub actions to Dependabot * Add Winget Releaser workflow
This commit is contained in:
parent
3a09926e45
commit
56fa5dd6d3
4
.github/dependabot.yml
vendored
4
.github/dependabot.yml
vendored
@ -9,3 +9,7 @@ updates:
|
||||
- dependency-name: regex
|
||||
versions:
|
||||
- 1.4.4
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
|
12
.github/workflows/cd.yml
vendored
12
.github/workflows/cd.yml
vendored
@ -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:
|
||||
|
@ -68,6 +68,10 @@ Note that the package is often called `git-delta`, but the executable installed
|
||||
<td>Windows (<a href="https://scoop.sh/">Scoop</a>)</td>
|
||||
<td><code>scoop install delta</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Windows (<a href="https://learn.microsoft.com/en-us/windows/package-manager/">Winget</a>)</td>
|
||||
<td><code>winget install dandavison.delta</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Debian / Ubuntu</td>
|
||||
<td>
|
||||
|
Loading…
Reference in New Issue
Block a user