Skip to content

Commit 5a4d602

Browse files
committed
ci: winget publish upon release
1 parent b0233a8 commit 5a4d602

3 files changed

Lines changed: 12 additions & 135 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Publish to WinGet
2+
on:
3+
release:
4+
types: [ released ]
5+
jobs:
6+
publish:
7+
runs-on: windows-latest
8+
steps:
9+
- uses: vedantmgoyal9/winget-releaser@main
10+
with:
11+
identifier: Stephanvs.hypr
12+
token: ${{ secrets.WINGET_TOKEN }}

.github/workflows/release.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -166,17 +166,3 @@ jobs:
166166
- name: Publish to NuGet
167167
run: dotnet nuget push ./nupkg/*.nupkg --api-key ${{steps.login.outputs.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json --skip-duplicate
168168

169-
publish-winget:
170-
needs: create-release
171-
runs-on: windows-latest
172-
173-
steps:
174-
- name: Get version from tag
175-
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
176-
shell: bash
177-
178-
- name: Publish to WinGet
179-
uses: vedantmgoyal9/winget-releaser@v2
180-
with:
181-
identifier: Stephanvs.hypr
182-
token: ${{ secrets.WINGETCREATE_TOKEN }}

scripts/submit_winget.sh

Lines changed: 0 additions & 121 deletions
This file was deleted.

0 commit comments

Comments
 (0)