Skip to content

Commit

Permalink
s4u/setup-maven-action to get a current Maven version
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick authored Jun 29, 2023
1 parent 1fe5631 commit e600795
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
name: CI
on:
push:
pull_request:
branches:
- master
jobs:
build:
strategy:
matrix:
java: ["11", "17"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
- name: Setup Maven Action
uses: s4u/setup-maven-action@v1.8.0
with:
java-version: "${{ matrix.java }}"
distribution: temurin
- name: Build with Maven
run: mvn -B -V -ntp -Dstyle.color=always package
env:
Expand Down

0 comments on commit e600795

Please sign in to comment.