Create release.yml

This commit is contained in:
Moaid Hathot 2024-07-17 15:48:07 -07:00 committed by GitHub
parent 8f21e041fb
commit 8638aa21a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

20
.github/workflows/release.yml vendored Normal file
View file

@ -0,0 +1,20 @@
name: Release
on:
release:
types: [published]
jobs:
winget:
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
with:
name: yazi-*
merge: true
- name: Release to Winget
uses: vedantmgoyal2009/winget-releaser@v2
with:
identifier: sxyazi.yazi
installers-regex: 'yazi-(x86_64|aarch64)-pc-windows-msvc\.zip$'
token: ${{ secrets.WINGET_TOKEN }}