Skip to content

Commit 3f05b87

Browse files
authored
Update maven.yml
1 parent 57326c7 commit 3f05b87

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/maven.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,18 @@ name: Test PR
55

66
on:
77
pull_request:
8-
branches: [ master ]
8+
branches: [ main ]
99

1010
jobs:
1111
build:
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
15-
- name: Set up JDK 1.8
16-
uses: actions/setup-java@v1
14+
- uses: actions/checkout@v3
15+
- name: Set up JDK 8
16+
uses: actions/setup-java@v3
1717
with:
18-
java-version: 1.8
18+
distribution: 'corretto'
19+
java-version: 8
20+
architecture: x64
1921
- name: Build and test with Maven
20-
run: mvn test -Ptest-output
22+
run: mvn -ntp -B test -Ptest-output

0 commit comments

Comments
 (0)