diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 21b92a04..2297ba34 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: jdkversion: [ 11 ] - runs-on: windows-latest + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: actions/setup-java@v3 @@ -26,3 +26,22 @@ jobs: with: name: Download path: ./target/AuthMe-5.6.0-FORK-Spigot-Universal.jar + runtime-test: + name: Plugin Runtime Test + needs: [Build] + runs-on: ubuntu-latest + strategy: + matrix: + include: + - mcVersion: '1.8.8' + javaVersion: '8' + - mcVersion: '1.12.2' + javaVersion: '8' + - mcVersion: '1.20.2' + javaVersion: '17' + steps: + - uses: FN-FAL113/minecraft-plugin-runtime-test@v1.1.4# specify action version, use latest as possible + with: + server-version: ${{ matrix.mcVersion }} + java-version: ${{ matrix.javaVersion }} + artifact-name: artifact-${{ github.event.number }}