From b3db9d88c1b37828f97a6aaa58ce9ac9472487d8 Mon Sep 17 00:00:00 2001 From: Ryan Caezar Itang Date: Sun, 12 Feb 2023 23:44:34 +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 00000000..3eb3da3a --- /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: schollz.croc + installers-regex: '_Windows-\w+\.zip$' + token: ${{ secrets.WINGET_TOKEN }} \ No newline at end of file