File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change 33# SPDX-License-Identifier: Apache-2.0
44
55# This workflow will test a Java project with Gradle
6- # For more information see: https://help .github.com/actions/language- and-framework-guides /building-and-testing-java-with-gradle
6+ # For more information see: https://docs .github.com/en/ actions/automating-builds- and-tests /building-and-testing-java-with-maven
77
88name : Java Tests
99on : [pull_request, push, workflow_dispatch]
2020 uses : actions/setup-java@v3
2121 with :
2222 java-version : 17
23- distribution : adopt
23+ distribution : temurin
2424
25- - name : Validate Gradle wrapper
26- uses : gradle/wrapper-validation-action@v1.1.0
27-
28- - name : Setup Gradle
29- uses : gradle/gradle-build-action@v2.7.0
30-
31- - name : Build with Gradle
32- run : ./gradlew build
25+ - name : Build with Maven
26+ run : mvn --batch-mode --update-snapshots package
You can’t perform that action at this time.
0 commit comments