mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 03:35:51 +00:00
[Ci skip] Test
This commit is contained in:
parent
1c5f2f650b
commit
d038950a5d
8
.github/workflows/maven-compiler.yml
vendored
8
.github/workflows/maven-compiler.yml
vendored
@ -4,9 +4,6 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
paths:
|
|
||||||
- 'src/**'
|
|
||||||
- 'pom.xml'
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
@ -19,6 +16,9 @@ jobs:
|
|||||||
|
|
||||||
name: Maven build
|
name: Maven build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
spigot: ["1.14.4", "1.15.2", "1.16.4"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
@ -28,4 +28,4 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
java-version: 1.8
|
java-version: 1.8
|
||||||
- name: Build with Maven
|
- name: Build with Maven
|
||||||
run: mvn package --file pom.xml
|
run: mvn package --file pom.xml -Dspigot.version=${{ matrix.spigot }}
|
||||||
|
Loading…
Reference in New Issue
Block a user