feat(release): add reusable workflow to deploy to winget

This commit is contained in:
Elian Doran 2025-04-11 12:54:12 +03:00
parent 6688151c2b
commit 3c5f5d2f76
No known key found for this signature in database

17
.github/workflows/release-winget.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: Release to winget
on:
workflow_dispatch:
inputs:
release_tag:
description: 'Git tag to release from'
required: true
jobs:
release-winget:
runs-on: ubuntu-latest
steps:
- name: Publish to WinGet
uses: vedantmgoyal9/winget-releaser@main
with:
identifier: TriliumNext.Notes
token: ${{ secrets.WINGET_PAT }}
release-tag: ${{ github.event.inputs.release_tag }}