File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 4141 steps :
4242 - name : Checkout code
4343 uses : actions/checkout@v2
44+ with :
45+ repository : ' Comfy-Org/homebrew-comfy-cli'
46+ token : ${{ secrets.COMMITTER_TOKEN }}
47+ path : ' homebrew-repo'
4448
4549 - name : Extract version from tag
4650 id : get_version
5761 source venv/bin/activate
5862 poet comfy-cli==$VERSION > comfy-cli.rb
5963
64+ - name : Commit and Push Formula
65+ run : |
66+ mv comfy-cli.rb homebrew-repo/Formula/
67+ cd homebrew-repo
68+ git config user.name github-actions
69+ git config user.email github-actions@github.com
70+ git add Formula/comfy-cli.rb
71+ git commit -m "Update comfy-cli formula to version $VERSION"
72+ git push
73+ env :
74+ GIT_COMMITTER_NAME : github-actions
75+ GIT_COMMITTER_EMAIL : github-actions@github.com
76+ GIT_AUTHOR_NAME : github-actions
77+ GIT_AUTHOR_EMAIL : github-actions@github.com
78+ GITHUB_TOKEN : ${{ secrets.COMMITTER_TOKEN }}
79+
6080 test-homebrew-installation :
6181 name : Test Comfy CLI Installation via homebrew
6282 needs : publish-homebrew-tap # This job runs after build-n-publish completes successfully
You can’t perform that action at this time.
0 commit comments