Skip to content

Stopping the test server. #7

Stopping the test server.

Stopping the test server. #7

on:
push:
branches:
- main
- next-update
jobs:
test-server:
runs-on: ubuntu-latest
timeout-minutes: 360
strategy:
matrix:
version: [ "1.20.6", "1.21", "1.21.1" ]
java-version: [21]
include:
- version: 1.21.1
java-version: 21
name: Test Plugin on Minecraft ${{ matrix.version }}
steps:
- uses: actions/checkout@v4
- name: Setup JDK ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
cache: 'maven'
- name: Build Plugin
run: mvn -B package --file pom.xml
- name: Test plugin - Bukkit ${{ matrix.version }}
uses: GamerCoder215/TestMC@v2.0.2
with:
path: "/home/runner/work/Essence/Essence/target/essence-*.jar"
runtime: 'craftbukkit'
version: ${{ matrix.version }}
commands: |
essence
stop
- name: Test plugin - Spigot ${{ matrix.version }}
uses: GamerCoder215/TestMC@v2.0.2
with:
path: "/home/runner/work/Essence/Essence/target/essence-*.jar"
runtime: 'spigot'
version: ${{ matrix.version }}
commands: |
essence
stop
- name: Test plugin - Paper ${{ matrix.version }}
uses: GamerCoder215/TestMC@v2.0.2
with:
path: "/home/runner/work/Essence/Essence/target/essence-*.jar"
runtime: 'paper'
version: ${{ matrix.version }}
commands: |
essence
stop
- name: Test plugin - Purpur ${{ matrix.version }}
uses: GamerCoder215/TestMC@v2.0.2
with:
path: "/home/runner/work/Essence/Essence/target/essence-*.jar"
runtime: 'purpur'
version: ${{ matrix.version }}
commands: |
essence
stop