From 8537270ea0a74c1fe23eb2b13fe8f4d2dd77a55d Mon Sep 17 00:00:00 2001 From: Cleverson Date: Fri, 6 Sep 2024 09:34:54 -0300 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4f7a4c1..51a23c5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,17 +17,17 @@ jobs: - name: Add i386 architecture run: | - dpkg --add-architecture i386 + sudo dpkg --add-architecture i386 sudo su -c "echo 'deb http://archive.ubuntu.com/ubuntu/bionic main restricted universe multiverse' >> /etc/apt/sources.list" - name: Update repository - run: apt-get update + run: sudo apt-get update - name: Install build dependencies - run: apt-get install -qq -y wget unzip build-essential gcc-4.8-multilib g++-4.8-multilib libgcc1:i386 + run: sudo apt-get install -qq -y wget unzip build-essential gcc-4.8-multilib g++-4.8-multilib libgcc1:i386 - name: Update alternatives - run: update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 100 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8 + run: sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 100 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8 - name: Run build working-directory: ./MatchBot