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 41
41
steps :
42
42
- name : Checkout code
43
43
uses : actions/checkout@v2
44
+ with :
45
+ repository : ' Comfy-Org/homebrew-comfy-cli'
46
+ token : ${{ secrets.COMMITTER_TOKEN }}
47
+ path : ' homebrew-repo'
44
48
45
49
- name : Extract version from tag
46
50
id : get_version
57
61
source venv/bin/activate
58
62
poet comfy-cli==$VERSION > comfy-cli.rb
59
63
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 [email protected]
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 :
[email protected]
76
+ GIT_AUTHOR_NAME : github-actions
77
+ GIT_AUTHOR_EMAIL :
[email protected]
78
+ GITHUB_TOKEN : ${{ secrets.COMMITTER_TOKEN }}
79
+
60
80
test-homebrew-installation :
61
81
name : Test Comfy CLI Installation via homebrew
62
82
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