Skip to content

Commit f9e870e

Browse files
committed
Add winget publish github action
1 parent 58149bf commit f9e870e

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/winget.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Publish to WinGet
2+
on:
3+
release:
4+
types: [released]
5+
jobs:
6+
publish:
7+
# Action can only be run on windows
8+
runs-on: windows-latest
9+
steps:
10+
- uses: vedantmgoyal2009/winget-releaser@v2
11+
# https://github.com/vedantmgoyal2009/winget-releaser
12+
with:
13+
identifier: ProjectJupyter.JupyterLab
14+
release-tag: ${{ steps.package-info.outputs.version}}
15+
version: ${{ steps.package-info.outputs.version}}
16+
token: ${{ secrets.WINGET_TOKEN }}

0 commit comments

Comments
 (0)