Skip to content

Commit 00fdc1b

Browse files
committed
ci: different action
1 parent 4dfb462 commit 00fdc1b

1 file changed

Lines changed: 6 additions & 12 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff 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 }}

0 commit comments

Comments
 (0)