From 6de484af1791f6bc541c59ee34fef1b62cdf110d Mon Sep 17 00:00:00 2001 From: tongsonbarbs Date: Fri, 30 Aug 2024 16:17:46 +0800 Subject: [PATCH] CI: Fix setup-chrome action (#27971) --- .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