mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
WinGet: Publish beta releases also
This commit is contained in:
10
.github/workflows/winget.yml
vendored
10
.github/workflows/winget.yml
vendored
@@ -1,12 +1,18 @@
|
||||
name: Publish to WinGet
|
||||
on:
|
||||
release:
|
||||
types: [released]
|
||||
types: [released, prereleased]
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: windows-latest # action can only be run on windows
|
||||
steps:
|
||||
- uses: telegramdesktop/winget-releaser@latest
|
||||
- if: github.event.action == 'released'
|
||||
uses: telegramdesktop/winget-releaser@latest
|
||||
with:
|
||||
identifier: Telegram.TelegramDesktop
|
||||
token: ${{ secrets.WINGET_TOKEN }}
|
||||
- if: github.event.action == 'prereleased'
|
||||
uses: telegramdesktop/winget-releaser@latest
|
||||
with:
|
||||
identifier: Telegram.TelegramDesktop.Beta
|
||||
token: ${{ secrets.WINGET_TOKEN }}
|
||||
|
Reference in New Issue
Block a user