This commit is contained in:
parent
546d5cd94a
commit
377c3eb6a4
@ -28,6 +28,23 @@ jobs:
|
|||||||
gradle --version
|
gradle --version
|
||||||
echo $JAVA_HOME
|
echo $JAVA_HOME
|
||||||
|
|
||||||
|
- name: Prep the host environment for Chrome
|
||||||
|
run: |
|
||||||
|
apt update -y
|
||||||
|
apt upgrade -y
|
||||||
|
apt install -y fonts-liberation libasound2 libatk-bridge2.0-0 libatk1.0-0 libu2f-udev libcups2 libdrm2\
|
||||||
|
libgbm1 libgtk-3-0 libgtk-4-1 libnspr4 libnss3 libu2f-udev libvulkan1 libxcomposite1 libxdamage1 libxfixes3\
|
||||||
|
libxkbcommon0 libxrandr2 xdg-utils xvfb libx11-6 libx11-dev libice6 xorg xorg-dev
|
||||||
|
|
||||||
|
- name: Install Chrome and Chromedriver for Linux
|
||||||
|
if: runner.os == 'Linux'
|
||||||
|
run: |
|
||||||
|
wget https://storage.googleapis.com/chrome-for-testing-public/${CHROME_VERSION}/linux64/chrome-linux64.zip
|
||||||
|
wget https://chromedriver.storage.googleapis.com/${CHROMEDRIVER_VERSION}/chromedriver_linux64.zip
|
||||||
|
unzip chrome-linux64.zip
|
||||||
|
unzip chromedriver_linux64.zip
|
||||||
|
mv chromedriver chrome-linux64
|
||||||
|
|
||||||
- name: Gradle Build
|
- name: Gradle Build
|
||||||
run: |
|
run: |
|
||||||
export PATH=$PATH:${{gitea.workspace}}/gradle-8.9/bin
|
export PATH=$PATH:${{gitea.workspace}}/gradle-8.9/bin
|
||||||
|
Loading…
Reference in New Issue
Block a user