changed to build.yml

This commit is contained in:
xSquishyLiam
2025-08-30 18:14:14 +01:00
parent f98fa075d3
commit 48241509d2

View File

@@ -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
@@ -21,19 +20,13 @@ 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: Make gradlew executable
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Save Maven cache
uses: skjolber/maven-cache-github-action@v1
with:
step: save
- 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