File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -106,15 +106,13 @@ jobs:
106106 key : ${{ runner.os }}-${{ runner.arch }}-pip-${{ hashFiles(inputs.config_path)}}
107107 restore-keys : |
108108 ${{ runner.os }}-${{ runner.arch }}-pip-
109-
110- - name : Install dependencies
111- run : |
112- python -m pip install --upgrade pip
113- pip install -r systemInfo/dev/requirements.txt
109+
114110
115111 - name : Run systemInfo on Windows
116112 if : ${{ runner.os == 'Windows' }}
117113 run : |
114+ python -m pip install --upgrade pip
115+ pip install -r systemInfo/dev/requirements.txt
118116 # 设置Python使用UTF-8编码
119117 [System.Environment]::SetEnvironmentVariable('PYTHONUTF8', '1', 'Process')
120118 # 设置控制台编码为UTF-8
@@ -124,6 +122,8 @@ jobs:
124122 - name : Run systemInfo on Linux
125123 if : ${{ runner.os == 'Linux' }}
126124 run : |
125+ sudo python -m pip install --upgrade pip
126+ sudo pip install -r systemInfo/dev/requirements.txt
127127 sudo python ${{ github.workspace }}/systemInfo/dev/main.py
128128
129129
You can’t perform that action at this time.
0 commit comments