Skip to content

Commit

Permalink
Update to Java 11 to support selenium, enable caching too
Browse files Browse the repository at this point in the history
  • Loading branch information
niloc132 committed Dec 28, 2023
1 parent fa5176e commit 8c3b484
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 8c3b484

Please sign in to comment.