File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -161,18 +161,12 @@ jobs:
161161 runs-on : windows-latest
162162
163163 steps :
164+ - name : Get version from tag
165+ run : echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
166+ shell : bash
167+
164168 - name : Publish to WinGet
165- uses : isaacrlevin /winget-publish-action
169+ uses : vedantmgoyal9 /winget-releaser@v2
166170 with :
167- publish-type : " Create"
168- user : " Stephanvs"
169- package : " hypr"
170- version : ${{ env.VERSION }}
171- url : " https://github.com/Stephanvs/hypr/releases/download/v${{ env.VERSION }}/hypr-windows-x64.tar.gz"
172- arch : " x64"
173- installer-type : " zip"
174- publisher : " Stephanvs"
175- package-name : " hypr"
176- license : " MIT"
177- short-description : " Hypr is a small tool to simplify git worktrees"
171+ identifier : Stephanvs.hypr
178172 token : ${{ secrets.WINGETCREATE_TOKEN }}
You can’t perform that action at this time.
0 commit comments