Skip to content

feat : add 1.21 compatibility #10

feat : add 1.21 compatibility

feat : add 1.21 compatibility #10

Workflow file for this run

name: PickSpawner CI - Java 17 with Kotlin
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Install spigot nms dependencies
run: bash ./install-dependency-in-cache.sh
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew clean build -x test
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Install spigot nms dependencies
run: bash ./install-dependency-in-cache.sh
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew clean test