diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ecff1820..9d147ddb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -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 .. @@ -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 @@ -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