From 3ddc0f387eff25fe389a80403364a955d6075ef0 Mon Sep 17 00:00:00 2001 From: Warrior <50800980+Warriorrrr@users.noreply.github.com> Date: Mon, 25 Nov 2024 13:54:35 +0100 Subject: [PATCH] Change gh workflow file to use gradle --- .github/workflows/{maven.yml => build.yml} | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) rename .github/workflows/{maven.yml => build.yml} (74%) diff --git a/.github/workflows/maven.yml b/.github/workflows/build.yml similarity index 74% rename from .github/workflows/maven.yml rename to .github/workflows/build.yml index f6b2afa..c818894 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: Compile & Test +name: Build on: push: @@ -21,6 +21,7 @@ jobs: with: java-version: ${{ matrix.java }} distribution: 'temurin' - cache: 'maven' - - name: Build with Maven - run: mvn compile test --file pom.xml \ No newline at end of file + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3 + - name: Build with Gradle + run: ./gradlew build