Skip to content

Commit

Permalink
chore: added winget workflow
Browse files Browse the repository at this point in the history
Fixes #3425
  • Loading branch information
jdx committed Dec 10, 2024
1 parent 9fa728e commit 901e048
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/winget.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Publish to WinGet
on:
release:
types: [released]
jobs:
publish:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
repository: jdx/winget-pkgs
token: ${{ secrets.RTX_GITHUB_BOT_TOKEN }}
fetch-depth: 0
- run: git config user.name mise-en-dev
- run: git config user.email [email protected]
- run: git remote add microsoft https://github.com/microsoft/winget-pkgs
- run: git pull --rebase microsoft main
- run: git push -f origin main
- uses: vedantmgoyal9/winget-releaser@main
with:
identifier: mise.jdx
max-versions-to-keep: 5
token: ${{ secrets.RTX_GITHUB_BOT_TOKEN }}

0 comments on commit 901e048

Please sign in to comment.