Update winget.yml

This commit is contained in:
Vedant 2022-08-05 20:11:31 +05:30 committed by John Preston
parent b7cc2e9894
commit aa208fb7d0

View file

@ -7,12 +7,12 @@ jobs:
runs-on: windows-latest # action can only be run on windows runs-on: windows-latest # action can only be run on windows
steps: steps:
- if: github.event.action == 'released' - if: github.event.action == 'released'
uses: telegramdesktop/winget-releaser@latest uses: telegramdesktop/winget-releaser@main
with: with:
identifier: Telegram.TelegramDesktop identifier: Telegram.TelegramDesktop
token: ${{ secrets.WINGET_TOKEN }} token: ${{ secrets.WINGET_TOKEN }}
- if: github.event.action == 'prereleased' - if: github.event.action == 'prereleased'
uses: telegramdesktop/winget-releaser@latest uses: telegramdesktop/winget-releaser@main
with: with:
identifier: Telegram.TelegramDesktop.Beta identifier: Telegram.TelegramDesktop.Beta
token: ${{ secrets.WINGET_TOKEN }} token: ${{ secrets.WINGET_TOKEN }}