Skip to content

Commit eb1e84e

Browse files
committed
automate (hopefully) winget manifest PRs
1 parent 69b46b1 commit eb1e84e

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/winget.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: 'winget'
2+
3+
on:
4+
release:
5+
types: [released]
6+
7+
jobs:
8+
winget:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Derive changelog anchor
12+
id: changelog
13+
run: |
14+
version="${GITHUB_REF_NAME#v}"
15+
echo "anchor=${version//.}" >> "$GITHUB_OUTPUT"
16+
- uses: vedantmgoyal9/winget-releaser@main
17+
with:
18+
identifier: gulbanana.gg
19+
installers-regex: '\.msi$' # as opposed to '\.exe$'
20+
release-notes-url: https://github.com/gulbanana/gg/blob/master/CHANGELOG.md#${{ steps.changelog.outputs.anchor }}
21+
token: ${{ secrets.WINGET_TOKEN }}

0 commit comments

Comments
 (0)