@@ -27,22 +27,12 @@ jobs:
27
27
run : |
28
28
echo "MINOR_VERSION=$(echo "${{ matrix.python_version }}" | cut -d'.' -f2)" >> $GITHUB_ENV
29
29
30
- - uses : actions/cache@v4
31
- id : cache
32
- with :
33
- path : |
34
- cu${{ matrix.cuda_version }}_python_deps.tar
35
- update_comfyui_and_python_dependencies.bat
36
- key : ${{ runner.os }}-build-cu${{ matrix.cuda_version }}-${{ matrix.python_version }}
37
- save-always : true
38
-
39
30
- name : Setup Python
40
31
uses : actions/setup-python@v4
41
32
with :
42
33
python-version : ${{ matrix.python_version }}
43
34
44
35
- name : Update Windows Dependencies
45
- if : steps.cache.outputs.cache-hit != 'true'
46
36
shell : bash
47
37
run : |
48
38
echo "@echo off
@@ -61,14 +51,12 @@ jobs:
61
51
echo installed basic
62
52
ls -lah temp_wheel_dir
63
53
mv temp_wheel_dir cu${{ matrix.cuda_version }}_python_deps
64
- tar cf cu${{ matrix.cuda_version }}_python_deps.tar cu${{ matrix.cuda_version }}_python_deps
65
54
66
55
- shell : bash
67
56
run : |
68
- mv cu${{ matrix.cuda_version }}_python_deps.tar ../
57
+ mv cu${{ matrix.cuda_version }}_python_deps ../
69
58
mv update_comfyui_and_python_dependencies.bat ../
70
59
cd ..
71
- tar xf cu${{ matrix.cuda_version }}_python_deps.tar
72
60
pwd
73
61
ls
74
62
@@ -82,10 +70,10 @@ jobs:
82
70
unzip python_embeded.zip -d python_embeded
83
71
minor_version=$(echo "${{ matrix.python_version }}" | cut -d'.' -f2)
84
72
cd python_embeded
73
+ ls
85
74
echo 'import site' >> ./python3${{ env.MINOR_VERSION }}._pth
86
75
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
87
76
./python.exe get-pip.py
88
- export PATH=$PWD/Scripts:$PATH
89
77
./python.exe -s -m pip install ../cu${{ matrix.cuda_version }}_python_deps/*
90
78
sed -i '1i../ComfyUI' ./python3${{ env.MINOR_VERSION }}._pth
91
79
cd ..
0 commit comments