Skip to content

[WIP] Make the plugin folia-compatible #2597

[WIP] Make the plugin folia-compatible

[WIP] Make the plugin folia-compatible #2597

Workflow file for this run

name: Java CI with Gradle
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java:
- 17
fail-fast: false
steps:
- name: Checkout
uses: actions/[email protected]
- name: 'Set up JDK ${{ matrix.java }}'
uses: actions/[email protected]
with:
distribution: adopt
java-version: '${{ matrix.java }}'
- name: Cache Gradle
uses: actions/[email protected]
with:
path: ~/.gradle/caches
key: >-
${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*',
'**/gradle-wrapper.properties') }}
restore-keys: '${{ runner.os }}-gradle-'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build the Jar
run: './gradlew clean eternalcore-plugin:shadowJar'
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
name: 'EternalCore'
path: eternalcore-plugin/build/libs/EternalCore*.jar