This commit is contained in:
xSquishyLiam
2025-08-30 12:46:37 +01:00
parent 6651ae99f7
commit 35131c2d58
3 changed files with 3 additions and 2 deletions

34
.github/workflows/build.yml vendored Normal file
View File

@@ -0,0 +1,34 @@
name: Auto Release
on:
push:
branches:
- main
jobs:
build:
name: Build
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v2
# Setup JDK
- name: Setup Java JDK
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'zulu'
# Build
- name: Build with Gradle
run: gradle build
- name: Auto release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: latest
prerelease: false
files: |
build/libs/GeyserModelEngine*.jar