This commit is contained in:
parent
ae3a6c5a37
commit
e1157b1cbc
@ -12,11 +12,18 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'open' # See 'Supported distributions' for available options
|
||||
distribution: 'adopt'
|
||||
java-version: '17'
|
||||
|
||||
- name: Install 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
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user