Commit 0074262 1 parent cb7fe59 commit 0074262 Copy full SHA for 0074262
File tree 1 file changed +37
-0
lines changed
1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Java CI with Maven
2
+
3
+ concurrency :
4
+ group : " maven-build"
5
+ cancel-in-progress : true
6
+
7
+ permissions :
8
+ contents : write
9
+
10
+ on :
11
+ push :
12
+ branches : [ master ]
13
+ paths-ignore :
14
+ - ' *.md'
15
+
16
+ jobs :
17
+ build :
18
+ runs-on : ubuntu-latest
19
+ steps :
20
+ - uses : actions/checkout@v3
21
+ - name : Set up JDK 17
22
+ uses : actions/setup-java@v2
23
+ with :
24
+ java-version : 17
25
+ distribution : ' zulu'
26
+ cache : maven
27
+ - name : Build with Maven
28
+ run : mvn -B package --file pom.xml
29
+ - name : Release
30
+ uses : softprops/action-gh-release@v2
31
+ with :
32
+ tag_name : " latest"
33
+ name : " Automatic Build"
34
+ body : " Automatically released build for Maven"
35
+ prerelease : true
36
+ files : |
37
+ ./target/*.jar
You can’t perform that action at this time.
0 commit comments