Skip to content

Commit 5679457

Browse files
committed
fixed workflow
1 parent 50def02 commit 5679457

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/build.yaml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,13 @@ jobs:
2323
with:
2424
chromedriver-version: '107.0.5304.62'
2525
- run: which chromedriver
26-
- uses: actions/checkout@v2
26+
- uses: actions/checkout@v4
2727
- name: Set up JDK 11
28-
uses: actions/setup-java@v1
28+
uses: actions/setup-java@v4
2929
with:
3030
java-version: 11
31-
32-
- name: Cache Maven packages
33-
uses: actions/cache@v2
34-
with:
35-
path: ~/.m2
36-
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
37-
restore-keys: ${{ runner.os }}-m2
31+
distribution: 'temurin'
32+
cache: 'maven'
3833

3934
- name: Compile and test
4035
run: mvn -B --update-snapshots compile test -Dwebdriver.chrome.driver=/usr/local/bin/chromedriver -Dwebdriver.chrome.browser=`which chrome`

0 commit comments

Comments
 (0)