Skip to content

Commit f8c89b7

Browse files
Update stable-release.yml
1 parent 9dae604 commit f8c89b7

File tree

1 file changed

+1
-47
lines changed

1 file changed

+1
-47
lines changed

.github/workflows/stable-release.yml

Lines changed: 1 addition & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -61,55 +61,9 @@ jobs:
6161
- shell: bash
6262
run: |
6363
cd ..
64-
cp -r ComfyUI ComfyUI_copy
65-
curl https://www.python.org/ftp/python/3.${{ inputs.python_minor }}.${{ inputs.python_patch }}/python-3.${{ inputs.python_minor }}.${{ inputs.python_patch }}-embed-amd64.zip -o python_embeded.zip
66-
unzip python_embeded.zip -d python_embeded
67-
cd python_embeded
68-
echo ${{ env.MINOR_VERSION }}
69-
echo 'import site' >> ./python3${{ inputs.python_minor }}._pth
70-
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
71-
./python.exe get-pip.py
72-
./python.exe -s -m pip install ../${{ inputs.cache_tag }}_python_deps/*
7364
74-
grep comfyui ../ComfyUI/requirements.txt > ./requirements_comfyui.txt
75-
./python.exe -s -m pip install -r requirements_comfyui.txt
76-
rm requirements_comfyui.txt
65+
echo "testing" > ComfyUI/ComfyUI_windows_portable_${{ inputs.rel_name }}.7z
7766
78-
sed -i '1i../ComfyUI' ./python3${{ inputs.python_minor }}._pth
79-
80-
if test -f ./Lib/site-packages/torch/lib/dnnl.lib; then
81-
rm ./Lib/site-packages/torch/lib/dnnl.lib #I don't think this is actually used and I need the space
82-
rm ./Lib/site-packages/torch/lib/libprotoc.lib
83-
rm ./Lib/site-packages/torch/lib/libprotobuf.lib
84-
fi
85-
86-
cd ..
87-
88-
git clone --depth 1 https://github.com/comfyanonymous/taesd
89-
cp taesd/*.safetensors ./ComfyUI_copy/models/vae_approx/
90-
91-
mkdir ComfyUI_windows_portable
92-
mv python_embeded ComfyUI_windows_portable
93-
mv ComfyUI_copy ComfyUI_windows_portable/ComfyUI
94-
95-
cd ComfyUI_windows_portable
96-
97-
mkdir update
98-
cp -r ComfyUI/.ci/update_windows/* ./update/
99-
cp -r ComfyUI/.ci/windows_base_files/* ./
100-
cp ../update_comfyui_and_python_dependencies.bat ./update/
101-
102-
cd ..
103-
104-
"C:\Program Files\7-Zip\7z.exe" a -t7z -m0=lzma2 -mx=9 -mfb=128 -md=768m -ms=on -mf=BCJ2 ComfyUI_windows_portable.7z ComfyUI_windows_portable
105-
mv ComfyUI_windows_portable.7z ComfyUI/ComfyUI_windows_portable_${{ inputs.rel_name }}.7z
106-
107-
cd ComfyUI_windows_portable
108-
python_embeded/python.exe -s ComfyUI/main.py --quick-test-for-ci --cpu
109-
110-
python_embeded/python.exe -s ./update/update.py ComfyUI/
111-
112-
ls
11367
11468
- name: Upload binaries to release
11569
uses: ncipollo/release-action@v1

0 commit comments

Comments
 (0)