Skip to content

Commit

Permalink
use shared gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
slawekjaranowski authored and slachiewicz committed Oct 30, 2021
1 parent 07234f2 commit 0e33dbe
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, 16, 17-ea]
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.3.1
with:
cache: 'maven'
java-version: ${{ matrix.java }}
distribution: 'temurin'

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

0 comments on commit 0e33dbe

Please sign in to comment.