diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 2376760..6af49f6 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -41,10 +41,15 @@ jobs: SE_EVENT_BUS_PUBLISH_PORT: 4442 SE_EVENT_BUS_SUBSCRIBE_PORT: 4443 steps: - - uses: actions/checkout@v2 - - # TODO: cache dependencies (taking into accounts: Maven plugins, snapshots, etc.) - - - name: Build with Maven - run: JAVA_HOME=$JAVA_HOME_8_X64 mvn -V -B -ntp -U -e verify -Pwebdriver-tests -Dwebdriver.test.host=$(hostname) + - name: Checkout + uses: actions/checkout@v4 + - name: Setup JDK 11 + id: setup-java-11 + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '11' + cache: 'maven' + - name: Build and test with Maven + run: mvn -V -B -ntp -U -e verify -Pwebdriver-tests -Dwebdriver.test.host=$(hostname)