From c94669ba31b6509d2d53710db35e11934a4b3288 Mon Sep 17 00:00:00 2001 From: ilyakhd <14272298+IlyaKhD@users.noreply.github.com> Date: Thu, 10 Oct 2024 11:48:52 +0300 Subject: [PATCH 1/2] CI: Fix setup-chrome action --- .github/actions/setup-chrome/action.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/actions/setup-chrome/action.yml b/.github/actions/setup-chrome/action.yml index f6272e475988..a1d9d1349f7e 100644 --- a/.github/actions/setup-chrome/action.yml +++ b/.github/actions/setup-chrome/action.yml @@ -29,6 +29,8 @@ runs: CHROME_VERSION: ${{ inputs.chrome-version }} run: | if [ -n "$CHROME_VERSION" ]; then + sudo apt-get update + sudo apt-get install libu2f-udev curl -L "https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROME_VERSION}-1_amd64.deb" > /tmp/chrome.deb sudo dpkg -i /tmp/chrome.deb unlink /tmp/chrome.deb From 5c2942b6064594c9f77849eb874b378cd0f64ce2 Mon Sep 17 00:00:00 2001 From: ilyakhd <14272298+IlyaKhD@users.noreply.github.com> Date: Thu, 10 Oct 2024 12:15:31 +0300 Subject: [PATCH 2/2] CI: Add automatic yes to prompts in chrome setup action --- .github/actions/setup-chrome/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/setup-chrome/action.yml b/.github/actions/setup-chrome/action.yml index a1d9d1349f7e..4de2ca47057d 100644 --- a/.github/actions/setup-chrome/action.yml +++ b/.github/actions/setup-chrome/action.yml @@ -30,7 +30,7 @@ runs: run: | if [ -n "$CHROME_VERSION" ]; then sudo apt-get update - sudo apt-get install libu2f-udev + sudo apt-get -y install libu2f-udev curl -L "https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROME_VERSION}-1_amd64.deb" > /tmp/chrome.deb sudo dpkg -i /tmp/chrome.deb unlink /tmp/chrome.deb