Update pom.xml #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Selenium with caching | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: | |
# Replace with your profile label https://namespace.so/docs/features/faster-github-actions#using-runner-profiles | |
- namespace-profile-amd64-with-caching | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: "11" | |
distribution: "temurin" | |
- name: Setup Maven cache | |
uses: namespacelabs/nscloud-cache-action@v1 | |
with: | |
cache: maven | |
# Check preinstalled Google Chrome version | |
- run: google-chrome --version | |
- name: Build with Maven | |
run: mvn -B clean test |