File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change 1
1
name : Winget Release
2
2
on :
3
- release :
4
- types : [released]
3
+ push :
4
+ tags :
5
+ - ' v*' # run on any tag push like v8.14.3, v8.15.0 etc.
6
+ # release:
7
+ # types: [released]
5
8
jobs :
6
9
publish :
7
10
runs-on : windows-latest
8
11
steps :
9
- - uses : vedantmgoyal9/winget-releaser@main
12
+ - name : Checkout tag
13
+ uses : actions/checkout@v4
14
+ with :
15
+ fetch-depth : 0 # fetch all history so tags are available
16
+ ref : ${{ github.ref }} # this ensures we check out the pushed tag
17
+ - name : Winget Releaser
18
+ uses : vedantmgoyal9/winget-releaser@main
10
19
with :
11
20
identifier : libvips.libvips
12
21
installers-regex : ' w64\-all*\.zip $'
13
22
token : ${{ secrets.WINGET_TOKEN }}
14
- # version: ${{ env.WINGET_TAG_NAME }}
23
+ version : ${{ github.ref_name }}
You can’t perform that action at this time.
0 commit comments