File tree 1 file changed +30
-0
lines changed
1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow will build a Java project with Maven
2
+ # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
3
+
4
+ name : Java CI with Maven
5
+
6
+ on :
7
+ push :
8
+
9
+ jobs :
10
+ build :
11
+ if : github.repository == 'nkonev/r2dbc-migrate-example'
12
+ runs-on : ubuntu-22.04
13
+ strategy :
14
+ matrix :
15
+ # test against latest update of each major Java version, as well as specific updates of LTS versions:
16
+ java : [ 17.0.4 ]
17
+ steps :
18
+ - uses : actions/checkout@v2
19
+ - name : Set up JDK ${{ matrix.java }}
20
+ uses : actions/setup-java@v4
21
+ with :
22
+ distribution : liberica
23
+ cache : ' maven'
24
+ cache-dependency-path : ' pom.xml'
25
+ java-version : ${{ matrix.java }}
26
+ - name : Test with Maven
27
+ run : |
28
+ pwd
29
+ ls -lah
30
+ ./mvnw clean test
You can’t perform that action at this time.
0 commit comments