Skip to content

Commit ad04bf0

Browse files
Heiko KieselWeltraumschaf
authored andcommitted
Update test workflow to work with maven
Signed-off-by: Heiko Kiesel <heiko.kiesel@iteratec.com>
1 parent 98ecf26 commit ad04bf0

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
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

88
name: Java Tests
99
on: [pull_request, push, workflow_dispatch]
@@ -20,13 +20,7 @@ jobs:
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

0 commit comments

Comments
 (0)