File tree Expand file tree Collapse file tree 2 files changed +54
-3
lines changed
Expand file tree Collapse file tree 2 files changed +54
-3
lines changed Original file line number Diff line number Diff line change 1+ name : Spring Boot Jersey Starter CI
2+
3+ on :
4+ push :
5+ paths :
6+ - ' spring/fluentforms-jersey-spring-boot-**'
7+ - ' .github/workflows/spring-boot-jersey-starter-ci.yml'
8+ workflow_dispatch :
9+
10+ jobs :
11+ build :
12+ name : Java ${{ matrix.java }} build
13+ runs-on : ubuntu-latest
14+ continue-on-error : ${{ matrix.experimental }}
15+ strategy :
16+ fail-fast : true
17+ matrix :
18+ java : [ 21 ]
19+ experimental : [false]
20+ include :
21+ - java : 25
22+ experimental : true
23+
24+ steps :
25+ - uses : actions/checkout@v6
26+ - name : Set up JDK ${{ matrix.java }}
27+ uses : actions/setup-java@v5
28+ with :
29+ distribution : ' oracle'
30+ java-version : ${{ matrix.java }}
31+ cache : ' maven'
32+ server-id : github # Value of the distributionManagement/repository/id field of the pom.xml
33+ settings-path : ${{ github.workspace }} # location for the settings.xml file
34+
35+ - name : Build AutoConfigure with Maven
36+ run : mvn -B install -s $GITHUB_WORKSPACE/settings.xml --file spring/fluentforms-jersey-spring-boot-autoconfigure
37+ env :
38+ GITHUB_TOKEN : ${{ github.token }}
39+
40+ - name : Build AutoConfigure with Maven
41+ if : (github.ref == 'refs/heads/master' || github.ref == 'refs/tags/*') && !matrix.experimental # Only run on main branch or tags and non-experimental
42+ run : mvn -B deploy -s $GITHUB_WORKSPACE/settings.xml --file spring/fluentforms-jersey-spring-boot-autoconfigure
43+ env :
44+ GITHUB_TOKEN : ${{ github.token }}
45+
46+ - name : Publish Starter to GitHub Packages Apache Maven
47+ if : (github.ref == 'refs/heads/master' || github.ref == 'refs/tags/*') && !matrix.experimental # Only run on main branch or tags and non-experimental
48+ run : mvn -B deploy -s $GITHUB_WORKSPACE/settings.xml --file spring/fluentforms-jersey-spring-boot-starter
49+ env :
50+ GITHUB_TOKEN : ${{ github.token }}
51+
Original file line number Diff line number Diff line change 1- name : Spring Boot Starter CI
1+ name : Spring Boot WebMVC Starter CI
22
33on :
44 push :
55 paths :
66 - ' spring/fluentforms-spring-boot-**'
7- - ' .github/workflows/spring-boot-starter-ci.yml'
7+ - ' .github/workflows/spring-boot-webmvc- starter-ci.yml'
88 workflow_dispatch :
99
1010jobs :
2222 experimental : true
2323
2424 steps :
25- - uses : actions/checkout@v5
25+ - uses : actions/checkout@v6
2626 - name : Set up JDK ${{ matrix.java }}
2727 uses : actions/setup-java@v5
2828 with :
You can’t perform that action at this time.
0 commit comments