File tree Expand file tree Collapse file tree 2 files changed +56
-0
lines changed Expand file tree Collapse file tree 2 files changed +56
-0
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " maven"
4+ directory : " /"
5+ schedule :
6+ interval : " hourly"
7+ target-branch : " main"
8+ labels :
9+ - " dependencies"
10+ - " main-branch"
11+ open-pull-requests-limit : 10
12+ - package-ecosystem : " maven"
13+ directory : " /"
14+ schedule :
15+ interval : " daily"
16+ target-branch : " release-3"
17+ labels :
18+ - " dependencies"
19+ - " release-3"
Original file line number Diff line number Diff line change 1+ ---
2+ name : Maven Verify
3+
4+ on :
5+ pull_request :
6+ branches :
7+ - main
8+ - release-3
9+
10+ jobs :
11+ build-main :
12+ if : github.base_ref == 'release-3'
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v4
16+ - name : Set up JDK 11
17+ uses : actions/setup-java@v4
18+ with :
19+ distribution : ' temurin'
20+ java-version : ' 11'
21+ - name : Clean with Maven
22+ run : mvn clean
23+ - name : Build with Maven
24+ run : mvn verify
25+
26+ build-release-4 :
27+ if : github.base_ref == 'main'
28+ runs-on : ubuntu-latest
29+ steps :
30+ - uses : actions/checkout@v4
31+ - name : Set up JDK 17
32+ uses : actions/setup-java@v4
33+ with :
34+ distribution : ' temurin'
35+ java-version : ' 17'
36+ - name : Build with Maven
37+ run : mvn clean verify
You can’t perform that action at this time.
0 commit comments