fix: upgrade org.seleniumhq.selenium:selenium-java from 4.9.1 to 4.15.0 #657
Workflow file for this run
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: Java CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [ '8', '11', '17' ] | |
name: Java ${{ matrix.Java }} CI | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set Java ${{ matrix.Java }} | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: ${{ matrix.java }} | |
cache: 'maven' | |
- name: Get Versions | |
run: | | |
echo "Google chrome version" | |
google-chrome --version | |
echo "firefox version" | |
firefox --version | |
echo "temp folder: ${{ runner.temp }}" | |
- name: Cache Maven packages | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-m2-${{ matrix.Java }}-${{ hashFiles('pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-m2-${{ matrix.Java }} | |
${{ runner.os }}-m2 | |
- name: Build with Maven | |
run: mvn --batch-mode --update-snapshots verify -Djava.io.tmpdir=${{ runner.temp }} | |
- run: mkdir staging && cp target/*.jar staging | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: Package | |
path: staging |