|
61 | 61 | - shell: bash |
62 | 62 | run: | |
63 | 63 | 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/* |
73 | 64 |
|
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 |
77 | 66 |
|
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 |
113 | 67 |
|
114 | 68 | - name: Upload binaries to release |
115 | 69 | uses: ncipollo/release-action@v1 |
|
0 commit comments