Skip to content

Commit 6aa3a32

Browse files
committed
Reactivate GH PR Build
1 parent 02b4422 commit 6aa3a32

File tree

1 file changed

+10
-24
lines changed

1 file changed

+10
-24
lines changed
Lines changed: 10 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,19 @@
1-
name: Java CI Task - master
1+
name: CI PRs
22

33
on:
44
push:
5-
branches:
6-
- master
75
pull_request:
86
branches:
9-
- master
7+
- main
108

119
jobs:
1210
build:
13-
14-
runs-on: ${{ matrix.os }}
15-
strategy:
16-
matrix:
17-
os: [ubuntu-latest]
18-
11+
runs-on: ubuntu-latest
12+
name: CI PR Build
1913
steps:
20-
- uses: actions/checkout@v1
21-
- name: Cache maven repository
22-
uses: actions/cache@v1
23-
with:
24-
path: .m2
25-
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
26-
restore-keys: |
27-
${{ runner.os }}-m2-
28-
- name: Set up JDK 1.8
29-
uses: actions/setup-java@v1
30-
with:
31-
java-version: 1.8
32-
- name: Build with Maven
33-
run: mvn "-Dmaven.repo.local=.m2" -U -B package -s .settings.xml
14+
- uses: actions/checkout@v2
15+
- uses: actions/setup-java@v2
16+
with:
17+
distribution: adopt
18+
java-version: 17
19+
- run: mvn "-Dmaven.repo.local=.m2" -U -B package -s .settings.xml

0 commit comments

Comments
 (0)