👷 Action to release to homebrew

This commit is contained in:
chaoqun committed 2024-06-01 11:51:10 +08:00
1 parent 079449473b
commit b539c8cdad
2 files changed
+16 -2

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
name: Publish to Homebrew
on:
workflow_dispatch:
jobs:
publish:
runs-on: macos-latest
steps:
- name: Update Homebrew formula
uses: dawidd6/action-homebrew-bump-formula@v3
with:
token: ${{ secrets.RELEASE_PAT }}
tag: ${{ github.event.release.tag_name }}
org: eat-pray-ai
formula: yutu
+1 -2
View File
@@ -1,8 +1,7 @@
name: Publish to WinGet
on:
release:
types:
- published
types: [released]
jobs:
publish:
runs-on: windows-latest