diff options
author | sitiom <sitiom@proton.me> | 2023-03-08 03:29:46 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-07 19:29:46 +0000 |
commit | 56fa5dd6d3b0f42c4e931edfc2eb762c4567e4a7 (patch) | |
tree | 59cade3b9f022ef3a0468429d9867fbe9ad8fcd0 /.github | |
parent | 3a09926e4576542e4fac04943dc6781eb026656e (diff) |
Add Winget Releaser workflow (#1331)
* Add Winget installation in the docs
* Add GitHub actions to Dependabot
* Add Winget Releaser workflow
Diffstat (limited to '.github')
-rw-r--r-- | .github/dependabot.yml | 4 | ||||
-rw-r--r-- | .github/workflows/cd.yml | 12 |
2 files changed, 16 insertions, 0 deletions
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: |