瀏覽代碼

feat: publish to winget (#1174)

Vedant 2 年之前
父節點
當前提交
383b7ef4f8
共有 1 個文件被更改,包括 8 次插入0 次删除
  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 }}