File tree Expand file tree Collapse file tree 1 file changed +17
-10
lines changed
Expand file tree Collapse file tree 1 file changed +17
-10
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
1+ name : OpenPDF Maven Build
32
4- name : OpenPDF maven build
5- on : [ push, pull_request ]
3+ on : [push, pull_request]
64
75permissions :
86 contents : read
97
108jobs :
119 build :
1210 runs-on : ubuntu-latest
13- name : Build with Java 17
11+ strategy :
12+ matrix :
13+ java : [17, 21, 24]
14+ name : Build with Java ${{ matrix.java }}
1415 steps :
1516 - uses : actions/checkout@v4
16- - uses : actions/setup-java@v4
17+
18+ - name : Set up Java ${{ matrix.java }}
19+ uses : actions/setup-java@v4
1720 with :
1821 distribution : temurin
19- java-version : 17
20- - name : Check maven version
21- run : mvn -v; echo "** ls **"; pwd && ls -l
22+ java-version : ${{ matrix.java }}
23+
24+ - name : Check Maven version and directory contents
25+ run : |
26+ mvn -v
27+ echo "** ls **"
28+ pwd && ls -l
2229
2330 - name : Build with Maven
24- run : mvn -B install --file pom.xml
31+ run : mvn -B install --file pom.xml
You can’t perform that action at this time.
0 commit comments