forked from unimatrix/web
Create build.yml
This commit is contained in:
commit
57e04ea667
1 changed files with 35 additions and 0 deletions
35
.github/workflows/build.yml
vendored
Normal file
35
.github/workflows/build.yml
vendored
Normal file
|
|
@ -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
|
||||
Loading…
Reference in a new issue

Staff