From dc4e39506ddb835642171a0fd15a7bcfd69b1264 Mon Sep 17 00:00:00 2001 From: zimzaza4 <3625282098@qq.com> Date: Thu, 10 Jul 2025 20:35:06 +0800 Subject: [PATCH] gradle build --- .github/workflows/maven.yml | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 796018b..1ff1c89 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -20,19 +20,10 @@ jobs: 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: Build with Gradle + run: gradle build + - name: Auto release uses: "marvinpinto/action-automatic-releases@latest" with: @@ -40,4 +31,4 @@ jobs: automatic_release_tag: latest prerelease: false files: | - target/GeyserModelEngine*.jar + build/libs/GeyserModelEngine*.jar