Browse Source

feat: publish to winget (#1174)

Vedant 2 years ago
parent
commit
383b7ef4f8
1 changed files with 8 additions and 0 deletions
  1. 8 0
      .github/workflows/windows.yml

+ 8 - 0
.github/workflows/windows.yml

@@ -96,3 +96,11 @@ jobs:
           GITHUB_TOKEN: ${{ secrets.STRONGER_GITHUB_TOKEN }}
           GITHUB_USERNAME: ${{ github.repository_owner }}
 
+      - if: env.SHOULD_BUILD == 'yes' && env.SHOULD_DEPLOY == 'yes'
+        name: Release to WinGet
+        uses: vedantmgoyal2009/winget-releaser@latest
+        with:
+          identifier: VSCodium.VSCodium
+          release-tag: env.MS_TAG
+          installers-regex: '\.exe$' # only .exe files
+          token: ${{ secrets.STRONGER_GITHUB_TOKEN }}