forked from unimatrix/web
35 lines
713 B
YAML
35 lines
713 B
YAML
|
|
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
|

Staff