From f803b5a3c621f27edd40692616eae4c2ea572b8b Mon Sep 17 00:00:00 2001 From: Emmanuel De Saint Steban Date: Thu, 5 Jan 2023 10:48:23 +0100 Subject: [PATCH] chore(release.yml): Add publish to winget in release actions See information about this github actions here : https://github.com/marketplace/actions/winget-releaser ref : #142 --- .github/workflows/release.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ce843c42d..41c0f5bf5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -90,3 +90,14 @@ jobs: # 📝: Edit the deployment directory publish_dir: ./updater force_orphan: true + + publish-winget: + # Action can only be run on windows + runs-on: windows-latest + needs: [create-release, build-tauri] + steps: + - uses: vedantmgoyal2009/winget-releaser@v1 + with: + identifier: lencx.ChatGPT + token: ${{ secrets.GITHUB_TOKEN }} + version: ${{ env.version }}