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 11name : Winget Release
22on :
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]
58jobs :
69 publish :
710 runs-on : windows-latest
811 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
1019 with :
1120 identifier : libvips.libvips
1221 installers-regex : ' w64\-all*\.zip $'
1322 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