kemitix-trello/.github/workflows/build-maven.yml

26 lines
516 B
YAML
Raw Normal View History

name: maven-build
2020-12-04 15:34:19 +00:00
on:
push:
branches: '*'
pull_request:
branches: '*'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 11, 17, 18, 19 ]
2020-12-04 15:34:19 +00:00
steps:
- uses: actions/checkout@v3.1.0
- name: setup-jdk-${{ matrix.java }}
uses: actions/setup-java@v3.5.1
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
cache: 'maven'
check-latest: true
- name: build-jar
run: mvn -B install