Update maven.yml

This commit is contained in:
DGun Otto 2023-12-08 00:20:39 +08:00 committed by GitHub
parent 03bcf18224
commit 636238a2a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 }}