Skip to content

1.21.30

1.21.30 #142

Workflow file for this run

name: Pull Request
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: SetupJDK
uses: actions/setup-java@v4
with:
java-version: 8
distribution: 'temurin'
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v3
- name: Build
uses: gradle/gradle-build-action@v3
with:
gradle-version: wrapper
arguments: "shadowJar"
env:
GRADLE_OPTS: "-Dorg.gradle.daemon=false -Dorg.gradle.caching=true -Dorg.gradle.welcome=never"
- name: Archive artifacts
uses: actions/upload-artifact@v4
if: success()
with:
name: Nukkit
path: target/nukkit-1.0-SNAPSHOT.jar