Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang committed Jul 3, 2024
1 parent 2462d6e commit d5b2e27
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ jobs:
id: cache
with:
path: |
cu${{ matrix.cu }}_python_deps.tar
cu${{ matrix.cuda_version }}_python_deps.tar
update_comfyui_and_python_dependencies.bat
key: ${{ runner.os }}-build-cu${{ matrix.cu }}-${{ env.MINOR_VERSION }}
key: ${{ runner.os }}-build-cu${{ matrix.cuda_version }}-${{ env.MINOR_VERSION }}
- shell: bash
run: |
mv cu${{ matrix.cu }}_python_deps.tar ../
mv cu${{ matrix.cuda_version }}_python_deps.tar ../
mv update_comfyui_and_python_dependencies.bat ../
cd ..
tar xf cu${{ matrix.cu }}_python_deps.tar
tar xf cu${{ matrix.cuda_version }}_python_deps.tar
pwd
ls
- name: Checkout code
Expand All @@ -50,7 +50,7 @@ jobs:
echo 'import site' >> ./python3${{ env.MINOR_VERSION }}._pth
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
./python.exe get-pip.py
./python.exe -s -m pip install ../cu${{ matrix.cu }}_python_deps/*
./python.exe -s -m pip install ../cu${{ matrix.cuda_version }}_python_deps/*
sed -i '1i../ComfyUI' ./python3${{ env.MINOR_VERSION }}._pth
cd ..
Expand All @@ -71,7 +71,7 @@ jobs:
cd ..
"C:\Program Files\7-Zip\7z.exe" a -t7z -m0=lzma -mx=8 -mfb=64 -md=32m -ms=on -mf=BCJ2 ComfyUI_windows_portable.7z ComfyUI_windows_portable
mv ComfyUI_windows_portable.7z ComfyUI/new_ComfyUI_windows_portable_nvidia_cu${{ matrix.cu }}_or_cpu.7z
mv ComfyUI_windows_portable.7z ComfyUI/new_ComfyUI_windows_portable_nvidia_cu${{ matrix.cuda_version }}_or_cpu.7z
cd ComfyUI_windows_portable
python_embeded/python.exe -s ComfyUI/main.py --quick-test-for-ci --cpu
Expand All @@ -82,6 +82,6 @@ jobs:
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: new_ComfyUI_windows_portable_nvidia_cu${{ matrix.cu }}.7z
file: new_ComfyUI_windows_portable_nvidia_cu${{ matrix.cuda_version }}.7z
tag: "latest"
overwrite: true

0 comments on commit d5b2e27

Please sign in to comment.