From 052db8ca4c772d84ce89c04331617907f359c2bf Mon Sep 17 00:00:00 2001 From: "lvfei.lv" Date: Mon, 18 Sep 2023 11:30:24 +0800 Subject: [PATCH] [Misc] Fix CI workflow Summary: Fix CI workflow Test Plan: CI Reviewed-by: sendaoYan, yuleil Issue: https://github.com/dragonwell-project/dragonwell11/issues/674 --- .github/workflows/submit.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/submit.yml b/.github/workflows/submit.yml index 80d43a0298e..cc98f725ed2 100644 --- a/.github/workflows/submit.yml +++ b/.github/workflows/submit.yml @@ -207,7 +207,8 @@ jobs: - name: Install dependencies run: | sudo apt-get update - sudo apt-get install gcc-9=9.4.0-1ubuntu1~20.04.1 g++-9=9.4.0-1ubuntu1~20.04.1 libxrandr-dev libxtst-dev libcups2-dev libasound2-dev + sudo apt search gcc + sudo apt-get install gcc-9 g++-9 libxrandr-dev libxtst-dev libcups2-dev libasound2-dev sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 100 --slave /usr/bin/g++ g++ /usr/bin/g++-9 - name: Configure