Skip to content

Fix PlayerToggleFlightEvent trigger #62

Fix PlayerToggleFlightEvent trigger

Fix PlayerToggleFlightEvent trigger #62

Workflow file for this run

name: Pull Request
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
submodules: true
- name: SetupJDK
uses: actions/setup-java@v3
with:
java-version: 8
distribution: 'temurin'
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Build
uses: gradle/gradle-build-action@v2
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@v1
if: success()
with:
name: Nukkit
path: target/nukkit-1.0-SNAPSHOT.jar