From 57e04ea667ee29886b49d45314833c94a0549c51 Mon Sep 17 00:00:00 2001 From: unimatrixgit <95320811+unimatrixgit@users.noreply.github.com> Date: Mon, 12 Oct 2026 23:33:05 +0200 Subject: [PATCH] Create build.yml --- .github/workflows/build.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..6be76592 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,35 @@ + +name: Build DuneRealms + +on: + workflow_dispatch: + push: + branches: [main] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Download source + uses: actions/checkout@v4 + + - name: Install Java 21 + uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: '21' + + - name: Install Gradle + uses: gradle/actions/setup-gradle@v4 + with: + gradle-version: '8.14' + + - name: Compile plugin + run: gradle clean build + + - name: Upload plugin JAR + uses: actions/upload-artifact@v4 + with: + name: DuneRealms-Plugin + path: build/libs/*.jar + if-no-files-found: error