Skip to content

use only one config field #80

use only one config field

use only one config field #80

Workflow file for this run

name: Java CI with Gradle
on: [ push ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 11, 17 ]
fail-fast: true
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: Build Plugin
run: ./gradlew build
- name: Upload Bukkit plugin
uses: actions/upload-artifact@v4
with:
name: Bukkit plugin built on ${{ matrix.java }} JDK
path: "bukkit/build/libs/*.jar"
- name: Upload Bungeecord plugin
uses: actions/upload-artifact@v4
with:
name: Bungee plugin built on ${{ matrix.java }} JDK
path: "bungee/build/libs/*.jar"
- name: Upload Velocity plugin
uses: actions/upload-artifact@v4
with:
name: Velocity plugin built on ${{ matrix.java }} JDK
path: "velocity/build/libs/*.jar"