Explorar el Código

ci: add Winget Releaser workflow

Ryan Caezar Itang hace 2 años
padre
commit
c94167d2e2
Se han modificado 1 ficheros con 15 adiciones y 0 borrados
  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 }}