瀏覽代碼

ci: add Winget Releaser workflow

Ryan Caezar Itang 2 年之前
父節點
當前提交
c94167d2e2
共有 1 個文件被更改,包括 15 次插入0 次删除
  1. 15 0
      .github/workflows/winget.yml

+ 15 - 0
.github/workflows/winget.yml

@@ -0,0 +1,15 @@
+name: Publish to Winget
+
+on:
+  release:
+    types: [released]
+
+jobs:
+  publish:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: vedantmgoyal2009/winget-releaser@v2
+        with:
+          identifier: eza-community.eza
+          installers-regex: '-pc-windows-gnu\.zip$'
+          token: ${{ secrets.WINGET_TOKEN }}