Skip to content

Commit bdf4e0b

Browse files
committed
build
1 parent b8ae7b7 commit bdf4e0b

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/docker-release.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,28 @@ on:
66
branches:
77
- master
88
jobs:
9+
build:
10+
name: Build
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
with:
15+
fetch-depth: 0
16+
- name: Set up JDK 11
17+
uses: actions/setup-java@v3
18+
with:
19+
java-version: 11
20+
distribution: 'zulu'
21+
- name: Cache Maven packages
22+
uses: actions/cache@v3
23+
with:
24+
path: ~/.m2
25+
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
26+
restore-keys: ${{ runner.os }}-m2
27+
- name: Build
28+
run: ./mvnw clean install -DskipTests=true
929
docker:
30+
needs: build
1031
runs-on: ubuntu-latest
1132
steps:
1233
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)