TotalFreedomMod/.github/workflows/maven.yml

28 lines
527 B
YAML
Raw Permalink Normal View History

2020-12-01 19:35:11 +00:00
name: Maven-Build
2019-11-28 04:47:28 +00:00
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
# Java 11 Builds
2019-11-28 04:47:28 +00:00
- uses: actions/checkout@v1
- name: Set up JDK 11
2019-11-28 04:47:28 +00:00
uses: actions/setup-java@v1
with:
java-version: 11
2019-11-28 04:47:28 +00:00
- name: Build with Maven
run: mvn -B package --file pom.xml
# Java 16 Builds
- uses: actions/checkout@v1
- name: Set up JDK 16
uses: actions/setup-java@v1
with:
java-version: 16
- name: Build with Maven
run: mvn -B package --file pom.xml