4343 # uses: pypa/gh-action-pypi-publish@v1.8.14
4444 # with:
4545 # repository_url: https://test.pypi.org/legacy/
46-
46+
4747 # - name: Clear pip cache
4848 # run: pip cache purge
4949
5656
5757 - name : Publish distribution to Official PyPI
5858 uses : pypa/gh-action-pypi-publish@release/v1
59-
59+
6060 test-pip-installation :
6161 name : Test Comfy CLI Installation via pip
6262 needs : build-n-publish-pypi # This job runs after build-n-publish completes successfully
@@ -87,11 +87,11 @@ jobs:
8787 repository : ' Comfy-Org/homebrew-comfy-cli'
8888 token : ${{ secrets.COMMITTER_TOKEN }}
8989 path : ' homebrew-repo'
90-
90+
9191 - name : Extract version from tag
9292 id : get_version
9393 run : echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
94-
94+
9595 - name : Set up Python environment
9696 run : |
9797 python3 -m venv venv
@@ -101,22 +101,22 @@ jobs:
101101 for i in {1..3}; do
102102 pip install comfy-cli==${{env.VERSION}} && break || sleep 5
103103 done
104-
104+
105105 - name : Generate Homebrew Formula
106106 run : |
107107 source venv/bin/activate
108108 poet -f comfy-cli==$VERSION > comfy-cli.rb
109-
109+
110110 - name : Move Formulas to Tap Directory
111111 run : |
112112 mv comfy-cli.rb homebrew-repo/Formula/
113-
113+
114114 - name : Install Comfy CLI using Homebrew Formula
115115 run : |
116116 brew install --build-from-source --verbose ./homebrew-repo/Formula/comfy-cli.rb
117117 comfy --help
118118 brew uninstall comfy-cli
119-
119+
120120 - name : Commit and Push Formula
121121 run : |
122122 cd homebrew-repo
@@ -140,14 +140,12 @@ jobs:
140140 steps :
141141 - name : Tap Comfy CLI Homebrew tap repository
142142 run : brew tap Comfy-Org/comfy-cli
143-
143+
144144 - name : Install comfy-cli latest via Homebrew
145145 run : brew install comfy-org/comfy-cli/comfy-cli
146-
146+
147147 - name : Test comfy-cli latest Help
148148 run : comfy --help
149-
149+
150150 - name : Uninstall comfy-cli latest
151151 run : brew uninstall comfy-cli
152-
153-
0 commit comments