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:
95
95
96
96
- name : Force Python 3.11
97
97
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
100
101
sudo update-alternatives --config python3
101
102
102
103
103
104
- name : Downgrade GCC to version 12
104
105
run : |
105
106
sudo apt-get install -y gcc-12 g++-12
106
- sudo apt-get install -y python3-apt
107
107
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 100
108
108
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 100
109
109
gcc --version
You can’t perform that action at this time.
0 commit comments