Skip to content

Commit

Permalink
[MPMD-328] Shared Github Actions (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
adangel committed Nov 25, 2021
1 parent 2175d5e commit 3fffd9c
Showing 1 changed file with 8 additions and 24 deletions.
32 changes: 8 additions & 24 deletions .github/workflows/maven.yml → .github/workflows/maven-verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,31 +15,15 @@
# specific language governing permissions and limitations
# under the License.

name: GitHub CI
name: Verify

on: [push, pull_request]
on:
push:
branches-ignore:
- dependabot/**
pull_request:

jobs:
build:

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

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

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

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

- name: Build with Maven
run: mvn verify -e -B -V -ntp -P run-its
name: Verify
uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v1

0 comments on commit 3fffd9c

Please sign in to comment.