mirror of
https://github.com/GeorgH93/Minepacks.git
synced 2024-11-15 10:55:20 +01:00
28 lines
772 B
YAML
28 lines
772 B
YAML
# This workflow will build a Java project with Maven
|
|
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
|
|
|
|
name: Build
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
buildAndTest:
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
strategy:
|
|
matrix:
|
|
java-version:
|
|
- 8
|
|
- 11
|
|
- 17
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
- name: Set up JDK ${{ matrix.java-version }}
|
|
uses: actions/setup-java@v2
|
|
with:
|
|
distribution: temurin
|
|
java-version: ${{ matrix.java-version }}
|
|
- name: Build and test with maven
|
|
run: mvn -B -s .github/workflows/settings.xml clean package test --file pom.xml
|