Skip to content

Commit c6e3935

Browse files
authored
chore(ci): Allow winget release to be pushed manually
1 parent 8e1765b commit c6e3935

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/winget-stable.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ on:
33
release:
44
types: [released]
55
workflow_dispatch:
6+
inputs:
7+
version:
8+
type: string
9+
required: true
10+
description: Version
611
jobs:
712
publish:
813
runs-on: windows-latest
@@ -13,9 +18,11 @@ jobs:
1318
identifier: Rnwood.Smtp4dev
1419
installers-regex: 'Rnwood.Smtp4dev-win-(x64|arm64)-.*\.zip'
1520
token: ${{ secrets.WINGET_TOKEN }}
21+
version: ${{ inputs.version }}
1622
- name: Publish smtp4dev.Desktop to WinGet
1723
uses: vedantmgoyal9/winget-releaser@main
1824
with:
1925
identifier: Rnwood.Smtp4dev.Desktop
2026
installers-regex: 'Rnwood.Smtp4dev.Desktop-win-x64-.*\.zip'
2127
token: ${{ secrets.WINGET_TOKEN }}
28+
version: ${{ inputs.version }}

0 commit comments

Comments
 (0)