InvUI/.github/workflows/maven.yml

26 lines
568 B
YAML
Raw Normal View History

2021-06-12 19:07:31 +00:00
# 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: Java CI with Maven
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
2021-12-10 16:42:57 +00:00
- name: Set up JDK 17
2021-06-12 19:07:31 +00:00
uses: actions/setup-java@v2
with:
2021-12-10 16:42:57 +00:00
java-version: '17'
2021-06-12 19:07:31 +00:00
distribution: 'adopt'
- name: Build with Maven
run: mvn -B package --file pom.xml