From 8638aa21a629e4ade6ba48e143eeed30aa031591 Mon Sep 17 00:00:00 2001 From: Moaid Hathot Date: Wed, 17 Jul 2024 15:48:07 -0700 Subject: [PATCH] Create release.yml --- .github/workflows/release.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..994dbde9 --- /dev/null +++ b/.github/workflows/release.yml @@ -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 }}