Skip to content

Commit

Permalink
use shared gh action (#24)
Browse files Browse the repository at this point in the history
Signed-off-by: Olivier Lamy <olamy@apache.org>
  • Loading branch information
olamy authored Oct 15, 2021
1 parent e4a728c commit 9c93c7e
Showing 1 changed file with 2 additions and 23 deletions.
25 changes: 2 additions & 23 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,26 +21,5 @@ on: [push, pull_request]

jobs:
build:

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

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

steps:
- name: Checkout
uses: actions/checkout@v2.3.4

- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: ${{ matrix.jdk }}
java-version: ${{ matrix.java }}
cache: 'maven'

- name: Build with Maven
run: mvn verify --errors --batch-mode --show-version -P run-its
name: Verify
uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify-with-its.yml@main

0 comments on commit 9c93c7e

Please sign in to comment.