TotalFreedomMod/.github/workflows/java17-maven.yml

22 lines
381 B
YAML
Raw Normal View History

name: Java17-Maven-Build
2021-08-26 12:01:20 +00:00
on: [push]
jobs:
build-java-17:
2021-08-26 12:01:20 +00:00
runs-on: ubuntu-latest
steps:
# Checkout the code
- uses: actions/checkout@v3
2021-08-26 12:01:20 +00:00
# Java 16 Builds
- name: Set up JDK 17
uses: actions/setup-java@v3.11.0
2021-08-26 12:01:20 +00:00
with:
java-version: 17
2021-08-26 12:01:20 +00:00
distribution: 'adopt'
- name: Build with Maven
run: mvn -B package --file pom.xml