mirror of
https://github.com/xSquishyLiam/mc-GeyserModelEnginePackGenerator-extension.git
synced 2025-12-19 14:59:16 +00:00
changed to build.yml
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user