Skip to content

Commit c04b158

Browse files
authored
maven step update
1 parent c5abbc8 commit c04b158

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed

.github/workflows/maven.yml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,21 @@ on:
66
branches:
77
- "master"
88

9-
jobs:
10-
build:
11-
12-
runs-on: ubuntu-latest
13-
14-
steps:
15-
- uses: actions/checkout@v2
16-
- name: Set up JDK 1.8
17-
uses: actions/setup-java@v2
18-
with:
19-
java-version: '8'
20-
distribution: 'adopt'
21-
- name: Build with Maven
22-
run: mvn -B package --file pom.xml
23-
9+
jobs:
2410
pre-release:
2511
name: "Pre Release"
2612
runs-on: "ubuntu-latest"
2713

2814
steps:
15+
- uses: actions/checkout@v2
16+
- name: Set up JDK 1.8
17+
uses: actions/setup-java@v2
18+
with:
19+
java-version: '8'
20+
distribution: 'adopt'
21+
- name: Build with Maven
22+
run: mvn -B package --file pom.xml
23+
2924
# ...
3025
- name: "Build & test"
3126
run: |

0 commit comments

Comments
 (0)