From a8ddabd0757d596e04eacbff110c83655074ab2f Mon Sep 17 00:00:00 2001 From: Prajwal S N Date: Sat, 6 Jan 2024 14:01:55 +0530 Subject: [PATCH] fix(ci): use latest Ubuntu image Signed-off-by: Prajwal S N --- .github/workflows/c-cpp.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 77ed6e0..f6f85e3 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -5,12 +5,15 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Dependencies - run: sudo apt-get install tree cmake qt4-dev-tools qtbase5-dev libxss-dev libxrandr-dev + - uses: actions/checkout@v3 + - name: Install dependencies + run: | + sudo add-apt-repository -y ppa:ubuntuhandbook1/ppa + sudo apt-get update + sudo apt-get install -y tree cmake qt4-dev-tools qtbase5-dev libxss-dev libxrandr-dev - name: Build run: | export CWD=`pwd`