Skip to content

Commit 5588934

Browse files
committed
Fix matrix.gcc
1 parent 0861746 commit 5588934

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cpp_ubuntu20_04.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ jobs:
3232

3333
- name: Switch GCC version
3434
run: |
35-
update-alternatives --set gcc /usr/bin/gcc-${{ matrix.gcc_version }}
36-
update-alternatives --set g++ /usr/bin/g++-${{ matrix.gcc_version }}
35+
update-alternatives --set gcc /usr/bin/gcc-${{ matrix.gcc }}
36+
update-alternatives --set g++ /usr/bin/g++-${{ matrix.gcc}}
3737
gcc --version
3838
g++ --version
3939

0 commit comments

Comments
 (0)