1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 03:35:51 +00:00
Slimefun4/.github/workflows/maven-compiler.yml
2020-11-03 00:53:17 +01:00

32 lines
564 B
YAML

name: Java CI
on:
push:
branches:
- master
pull_request:
branches:
- master
paths:
- 'src/**'
- 'pom.xml'
jobs:
build:
name: Maven build
runs-on: ubuntu-latest
strategy:
matrix:
spigot: ["1.14.4", "1.15.2", "1.16.4"]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@master
with:
java-version: 1.8
- name: Build with Maven
run: mvn package --file pom.xml -Dspigot.version=${{ matrix.spigot }}