File tree Expand file tree Collapse file tree 2 files changed +49
-3
lines changed
Expand file tree Collapse file tree 2 files changed +49
-3
lines changed Original file line number Diff line number Diff line change 1+ name : Release Candidate
2+
3+ on :
4+ push :
5+ branches :
6+ - ' develop'
7+ tags :
8+ - ' *'
9+
10+ jobs :
11+ build :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v2
15+ - name : Set up JDK 11
16+ uses : actions/setup-java@v1
17+ with :
18+ java-version : 11
19+ - name : Build with Maven
20+ run : mvn install --file pom.xml
21+ - name : Upload war
22+ uses : actions/upload-artifact@v2
23+ with :
24+ name : war
25+ path : target/*.war
26+ release :
27+ runs-on : ubuntu-latest
28+ steps :
29+ - name : Checkout current branch
30+ uses : actions/checkout@v2
31+ - name : Get current version
32+ id : version
33+ run : echo "::set-output name=prop::$(mvn -f pom.xml help:evaluate -Dexpression=project.version -q -DforceStdout)"
34+ - run : echo ${{steps.version.outputs.prop}}
35+ - name : Release snapshot
36+ id : release-snapshot
37+ uses : actions/create-release@latest
38+ env :
39+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
40+ with :
41+ tag_name : ${{steps.version.outputs.prop}}-rc
42+ release_name : Release Candidate ${{steps.version.outputs.prop}}
43+ draft : false
44+ prerelease : false
Original file line number Diff line number Diff line change 44 <groupId >fr.insee</groupId >
55 <artifactId >sabdatab</artifactId >
66 <packaging >war</packaging >
7- <version >2.0.1 </version >
7+ <version >2.0.2 </version >
88 <name >Sabiane Data</name >
99
1010 <properties >
2222 <saxon .version>9.7.0-8</saxon .version>
2323 <xalan .version>2.7.1</xalan .version>
2424 <commons-io .version>2.7</commons-io .version>
25- <log4j2 .version>2.16.0</log4j2 .version>
25+ <log4j2 .version>2.17.1</log4j2 .version>
26+ <spring-boot-dependencies .version>2.4.3</spring-boot-dependencies .version>
2627
2728 </properties >
2829
198199 <dependency >
199200 <groupId >org.springframework.boot</groupId >
200201 <artifactId >spring-boot-dependencies</artifactId >
201- <version >2.4.3 </version >
202+ <version >${spring-boot-dependencies.version} </version >
202203 <type >pom</type >
203204 <scope >import</scope >
204205 </dependency >
250251 <plugin >
251252 <groupId >org.springframework.boot</groupId >
252253 <artifactId >spring-boot-maven-plugin</artifactId >
254+ <version >${spring-boot-dependencies.version} </version >
253255 <executions >
254256 <execution >
255257 <id >repackage</id >
You can’t perform that action at this time.
0 commit comments