ci: add postrelease workflow to update docs and release winget packages (#1983)

(cherry picked from commit c61d5dd5c631a173d691121ebc6c7d4ec7279218)
This commit is contained in:
Takase
2025-05-18 22:55:28 +08:00
committed by takase1121
parent 7a68eaa165
commit dec272d051
+6 -2
View File
@@ -1,13 +1,17 @@
name: Publish to winget
name: Postrelease
on:
release:
types: [released]
jobs:
publish:
postrelease:
if: ${{ github.repository == 'lite-xl/lite-xl' && startsWith(github.ref, 'refs/tags/v') }}
runs-on: windows-latest
steps:
- name: Update winget-pkgs repository
env: { GH_TOKEN: "${{ secrets.WINGET_TOKEN }}" }
run: gh repo sync lite-xl/winget-pkgs
- name: Release to winget
uses: vedantmgoyal9/winget-releaser@main
with: