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
|
name: Auto Release
|
||||||
|
|
||||||
on:
|
on:
|
||||||
@@ -12,7 +11,7 @@ jobs:
|
|||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
# Setup JDK
|
# Setup JDK
|
||||||
- name: Setup Java JDK
|
- name: Setup Java JDK
|
||||||
@@ -20,20 +19,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
java-version: 17
|
java-version: 17
|
||||||
distribution: 'zulu'
|
distribution: 'zulu'
|
||||||
|
|
||||||
- name: Restore Maven cache
|
|
||||||
uses: skjolber/maven-cache-github-action@v1
|
|
||||||
with:
|
|
||||||
step: restore
|
|
||||||
|
|
||||||
# Build
|
# Build
|
||||||
- name: Build with Maven
|
- name: Make gradlew executable
|
||||||
run: mvn package
|
run: chmod +x gradlew
|
||||||
|
|
||||||
- name: Save Maven cache
|
- name: Build with Gradle
|
||||||
uses: skjolber/maven-cache-github-action@v1
|
run: ./gradlew build
|
||||||
with:
|
|
||||||
step: save
|
|
||||||
- name: Auto release
|
- name: Auto release
|
||||||
uses: "marvinpinto/action-automatic-releases@latest"
|
uses: "marvinpinto/action-automatic-releases@latest"
|
||||||
with:
|
with:
|
||||||
@@ -41,4 +34,4 @@ jobs:
|
|||||||
automatic_release_tag: latest
|
automatic_release_tag: latest
|
||||||
prerelease: false
|
prerelease: false
|
||||||
files: |
|
files: |
|
||||||
target/GeyserModelEnginePackGenerator*.jar
|
build/libs/GeyserModelEnginePackGenerator*.jar
|
||||||
Reference in New Issue
Block a user