diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 095c63eeb..221c828ae 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -49,10 +49,10 @@ jobs: if: matrix.os == 'ubuntu-18.04' run: | sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y - sudo apt-get update - sudo apt-get install g++-7 - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 --slave /usr/bin/g++ g++ /usr/bin/g++-7 - sudo update-alternatives --set gcc "/usr/bin/gcc-7" + sudo apt-get update -y + sudo apt-get install g++-7 -y + sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 --slave /usr/bin/g++ g++ /usr/bin/g++-7 -y + sudo update-alternatives --set gcc "/usr/bin/gcc-7" -y - name: Create Build Environment [windows] shell: bash