ci: add postrelease workflow to update docs and release winget packages (#1983)
(cherry picked from commit c61d5dd5c631a173d691121ebc6c7d4ec7279218)
This commit is contained in:
@@ -1,13 +1,17 @@
|
|||||||
name: Publish to winget
|
name: Postrelease
|
||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
types: [released]
|
types: [released]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
postrelease:
|
||||||
if: ${{ github.repository == 'lite-xl/lite-xl' && startsWith(github.ref, 'refs/tags/v') }}
|
if: ${{ github.repository == 'lite-xl/lite-xl' && startsWith(github.ref, 'refs/tags/v') }}
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Update winget-pkgs repository
|
||||||
|
env: { GH_TOKEN: "${{ secrets.WINGET_TOKEN }}" }
|
||||||
|
run: gh repo sync lite-xl/winget-pkgs
|
||||||
|
|
||||||
- name: Release to winget
|
- name: Release to winget
|
||||||
uses: vedantmgoyal9/winget-releaser@main
|
uses: vedantmgoyal9/winget-releaser@main
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user