File tree Expand file tree Collapse file tree 2 files changed +19
-18
lines changed
Expand file tree Collapse file tree 2 files changed +19
-18
lines changed Original file line number Diff line number Diff line change @@ -10,26 +10,27 @@ name: Java CI with Maven
1010
1111on :
1212 push :
13- branches : [ "main" ]
14- pull_request :
15- branches : [ "main" ]
13+ tags :
14+ - " v*"
15+
16+ permissions :
17+ contents : write
1618
1719jobs :
1820 build :
19-
2021 runs-on : ubuntu-latest
2122
2223 steps :
23- - uses : actions/checkout@v4
24- - name : Set up JDK 17
25- uses : actions/setup-java@v4
26- with :
27- java-version : ' 17 '
28- distribution : ' temurin'
29- cache : maven
30- - name : Build with Maven
31- run : mvn -B package --file pom.xml
24+ - uses : actions/checkout@v4
25+ - name : Set up JDK 17
26+ uses : actions/setup-java@v4
27+ with :
28+ java-version : " 17 "
29+ distribution : " temurin"
30+ cache : maven
31+ - name : Build with Maven
32+ run : mvn -B package --file pom.xml
3233
33- # Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
34- - name : Update dependency graph
35- uses : advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6
34+ # Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
35+ - name : Update dependency graph
36+ uses : advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6
Original file line number Diff line number Diff line change 99 <version >0.1.0</version >
1010
1111 <properties >
12- <maven .compiler.source>21 </maven .compiler.source>
13- <maven .compiler.target>21 </maven .compiler.target>
12+ <maven .compiler.source>17 </maven .compiler.source>
13+ <maven .compiler.target>17 </maven .compiler.target>
1414 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
1515 <junit .jupiter.version>5.10.1</junit .jupiter.version>
1616 </properties >
You can’t perform that action at this time.
0 commit comments