This commit is contained in:
parent
ae3a6c5a37
commit
e1157b1cbc
@ -12,12 +12,19 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: 'open' # See 'Supported distributions' for available options
|
distribution: 'adopt'
|
||||||
java-version: '17'
|
java-version: '17'
|
||||||
|
|
||||||
- name: Install Maven
|
- name: Install Maven
|
||||||
run: apt install -y maven
|
run: apt install -y maven
|
||||||
|
|
||||||
|
- name: Validate installation
|
||||||
|
run: |
|
||||||
|
java -version
|
||||||
|
mvn --version
|
||||||
|
echo $JAVA_HOME
|
||||||
|
mvn -B verify --file pom.xml
|
||||||
|
|
||||||
- name: Build And Test
|
- name: Build And Test
|
||||||
run: |
|
run: |
|
||||||
mvn compiler:compile
|
mvn compiler:compile
|
||||||
|
Loading…
Reference in New Issue
Block a user