From 48241509d25de2a6113104ae9302712dcf25c522 Mon Sep 17 00:00:00 2001 From: xSquishyLiam <56977759+xSquishyLiam@users.noreply.github.com> Date: Sat, 30 Aug 2025 18:14:14 +0100 Subject: [PATCH] changed to build.yml --- .github/workflows/{maven.yml => build.yml} | 25 ++++++++-------------- 1 file changed, 9 insertions(+), 16 deletions(-) rename .github/workflows/{maven.yml => build.yml} (57%) diff --git a/.github/workflows/maven.yml b/.github/workflows/build.yml similarity index 57% rename from .github/workflows/maven.yml rename to .github/workflows/build.yml index 319f036..5ef9c9c 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,3 @@ - name: Auto Release on: @@ -12,7 +11,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 # Setup JDK - name: Setup Java JDK @@ -20,20 +19,14 @@ jobs: with: java-version: 17 distribution: 'zulu' - - - name: Restore Maven cache - uses: skjolber/maven-cache-github-action@v1 - with: - step: restore - + # Build - - name: Build with Maven - run: mvn package - - - name: Save Maven cache - uses: skjolber/maven-cache-github-action@v1 - with: - step: save + - name: Make gradlew executable + run: chmod +x gradlew + + - name: Build with Gradle + run: ./gradlew build + - name: Auto release uses: "marvinpinto/action-automatic-releases@latest" with: @@ -41,4 +34,4 @@ jobs: automatic_release_tag: latest prerelease: false files: | - target/GeyserModelEnginePackGenerator*.jar + build/libs/GeyserModelEnginePackGenerator*.jar