From 884a509f7516e97ad16dbf77b4488893d0112e28 Mon Sep 17 00:00:00 2001 From: Ryan Caezar Itang Date: Tue, 7 Mar 2023 11:35:57 +0800 Subject: [PATCH] Add Winget Releaser workflow --- .github/workflows/winget.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/winget.yml diff --git a/.github/workflows/winget.yml b/.github/workflows/winget.yml new file mode 100644 index 0000000..0da0e9c --- /dev/null +++ b/.github/workflows/winget.yml @@ -0,0 +1,14 @@ +name: Publish to Winget +on: + release: + types: [released] + +jobs: + publish: + runs-on: windows-latest # Action can only run on Windows + steps: + - uses: vedantmgoyal2009/winget-releaser@v2 + with: + identifier: sharkdp.fd + installers-regex: '-pc-windows-msvc\.zip$' + token: ${{ secrets.WINGET_TOKEN }}