diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 3f231d2..a23e105 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -13,8 +13,11 @@ jobs: CHROME_VERSION: 113.0.5672.0 EDGEDRIVER_VERSION: 126.0.2592.102 steps: - - uses: actions/checkout@v4 - - uses: actions/setup-java@v4 + - name: Clone the repo + uses: actions/checkout@v4 + + - name: Install java 17 + uses: actions/setup-java@v4 with: distribution: 'adopt' java-version: '17' @@ -32,7 +35,7 @@ jobs: gradle --version echo $JAVA_HOME - - name: Prep the Debian repositories + - name: Prep the host environment for MS Edge run: | apt update -y apt upgrade -y @@ -51,13 +54,13 @@ jobs: apt update apt install -y microsoft-edge-stable - - name: EdgeDriver for Windows - if: runner.os == 'Windows' + - name: Validate the MS Edge installation run: | - wget https://msedgedriver.azureedge.net/${EDGEDRIVER_VERSION}/edgedriver_win64.zip - unzip edgedriver_win64.zip - mv msedgedriver.exe drivers - List-Item -Recurse driversn + export PATH=$PATH:${{gitea.workspace}}/drivers + which edge + which msedgedriver + msedge --version + msedgedriver --version - name: Gradle Build run: |