@@ -460,15 +460,15 @@ jobs:
460460 run : |
461461 # Create workspace directory
462462 WORKSPACE="${RUNNER_TEMP}/workspace"
463- sudo mkdir -p ${WORKSPACE}
463+ mkdir -p ${WORKSPACE}
464464
465465 # Allow non-root access to the working directories
466- sudo chmod -R 777 ${GITHUB_WORKSPACE}
467- sudo chmod -R 777 ${RUNNER_TEMP}
466+ chmod -R 777 ${GITHUB_WORKSPACE}
467+ chmod -R 777 ${RUNNER_TEMP}
468468
469469 # Install common dependencies
470- sudo apt-get update
471- sudo apt-get install -y autoconf automake bison flex gettext \
470+ apt-get update
471+ apt-get install -y autoconf automake bison flex gettext \
472472 help2man libboost-dev libboost-regex-dev \
473473 libncurses5-dev libtool-bin libtool-doc \
474474 pkg-config texinfo p7zip
@@ -500,13 +500,13 @@ jobs:
500500 project-config.jam
501501
502502 ## Build and install boost-regex library
503- sudo ./b2 install \
503+ ./b2 install \
504504 toolset=gcc-mingw link=static threading=multi variant=release \
505505 --prefix=/usr/x86_64-w64-mingw32
506506
507507 ## Clean up to reduce disk usage
508508 popd
509- sudo rm -rf ${WORKSPACE}/boost
509+ rm -rf ${WORKSPACE}/boost
510510 fi
511511
512512 # Set environment variables
@@ -823,14 +823,14 @@ jobs:
823823 run : |
824824 # Create workspace directory
825825 WORKSPACE="${RUNNER_TEMP}/workspace"
826- sudo mkdir -p ${WORKSPACE}
826+ mkdir -p ${WORKSPACE}
827827
828828 # Allow non-root access to the working directories
829- sudo chmod -R 777 ${GITHUB_WORKSPACE}
830- sudo chmod -R 777 ${RUNNER_TEMP}
829+ chmod -R 777 ${GITHUB_WORKSPACE}
830+ chmod -R 777 ${RUNNER_TEMP}
831831
832832 # Install common dependencies
833- sudo apt-get update
833+ apt-get update
834834
835835 # Install dependencies for cross compilation
836836 if [ "${{ matrix.host.name }}" == "windows-x86_64" ]; then
@@ -1116,8 +1116,8 @@ jobs:
11161116 if : ${{ runner.os == 'Linux' }}
11171117 run : |
11181118 # Install common dependencies
1119- sudo apt-get update
1120- sudo apt-get install -y p7zip
1119+ apt-get update
1120+ apt-get install -y p7zip
11211121
11221122 # Set environment variables
11231123 echo "TAR=tar" >> $GITHUB_ENV
@@ -1190,8 +1190,8 @@ jobs:
11901190 if : ${{ runner.os == 'Linux' }}
11911191 run : |
11921192 # Install common dependencies
1193- sudo apt-get update
1194- sudo apt-get install -y jq p7zip
1193+ apt-get update
1194+ apt-get install -y jq p7zip
11951195
11961196 # Set environment variables
11971197 echo "TAR=tar" >> $GITHUB_ENV
0 commit comments