File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -95,15 +95,15 @@ jobs:
9595
9696 - name : Force Python 3.11
9797 run : |
98- sudo update-alternatives --install /usr/bin/python python /opt/hostedtoolcache/Python/3.11.13/x64/bin/python 1
99- sudo update-alternatives --install /usr/bin/python3 python3 /opt/hostedtoolcache/Python/3.11.13/x64/bin/python 1
98+ sudo update-alternatives --install /usr/local/bin/python python /opt/hostedtoolcache/Python/3.11.13/x64/bin/python 1
99+ sudo update-alternatives --install /usr/local/bin/python3 python3 /opt/hostedtoolcache/Python/3.11.13/x64/bin/python 1
100+ echo "/usr/local/bin:$PATH" >> $GITHUB_PATH
100101 sudo update-alternatives --config python3
101102
102103
103104 - name : Downgrade GCC to version 12
104105 run : |
105106 sudo apt-get install -y gcc-12 g++-12
106- sudo apt-get install -y python3-apt
107107 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 100
108108 sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 100
109109 gcc --version
You can’t perform that action at this time.
0 commit comments