mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
feat(release): add reusable workflow to deploy to winget
This commit is contained in:
parent
6688151c2b
commit
3c5f5d2f76
17
.github/workflows/release-winget.yml
vendored
Normal file
17
.github/workflows/release-winget.yml
vendored
Normal 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 }}
|
Loading…
x
Reference in New Issue
Block a user