Skip to content

do retain on handle() call, temporary disable checkstyle and spotbugs #5

do retain on handle() call, temporary disable checkstyle and spotbugs

do retain on handle() call, temporary disable checkstyle and spotbugs #5

Workflow file for this run

name: Java CI with Gradle
on: [push, pull_request]
jobs:
build:
# Only run on PRs if the source branch is on a different repo. We do not need to run everything twice. (From ViaVersion)
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4.1.4
- name: Setup Java
uses: actions/setup-java@v4.2.1
with:
distribution: temurin
java-version: 17
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3.3.2
- name: Build with Gradle
run: ./gradlew build
- name: Upload a Build Artifact
uses: actions/upload-artifact@v4.3.3
with:
name: LimboAPI
path: "build/libs/limboapi-*.jar"