Skip to content

Commit

Permalink
Use Maven Apache shared GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
slawekjaranowski committed Sep 4, 2023
1 parent d7cb1c5 commit e6e9ba6
Showing 1 changed file with 2 additions and 27 deletions.
29 changes: 2 additions & 27 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,30 +21,5 @@ on: [push, pull_request]

jobs:
build:

strategy:
matrix:
os: [ubuntu-latest]
java: [8, 11, 17, 20]
jdk: [temurin]
include:
- java: 11
os: windows-latest
jdk: temurin
- java: 11
os: macos-latest
jdk: temurin
fail-fast: false

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: ${{ matrix.jdk }}
java-version: ${{ matrix.java }}
cache: 'maven'

- name: Build with Maven
run: mvn clean verify -e -B -V javadoc:javadoc site site:stage
name: Verify
uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v3

0 comments on commit e6e9ba6

Please sign in to comment.