You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by ro...@apache.org on 2021/06/26 15:06:20 UTC
[aries-cdi] branch master updated: simplify/update actions build
This is an automated email from the ASF dual-hosted git repository.
rotty3000 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/aries-cdi.git
The following commit(s) were added to refs/heads/master by this push:
new 64ef7c6 simplify/update actions build
64ef7c6 is described below
commit 64ef7c680ea6ffd398f5cfcd1c11c5469de43457
Author: Raymond Augé <ro...@apache.org>
AuthorDate: Sat Jun 26 11:06:00 2021 -0400
simplify/update actions build
Signed-off-by: Raymond Augé <ro...@apache.org>
---
.github/workflows/maven.yml | 35 ++++++++++++-----------------------
1 file changed, 12 insertions(+), 23 deletions(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index b5b2b5f..0ea546b 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -12,7 +12,13 @@
name: CI Build
-on: [push, pull_request]
+on:
+ push:
+ # Sequence of patterns matched against refs/heads
+ branches-ignore:
+ # Push events to branches matching refs/heads/dependabot/**
+ - 'dependabot/**'
+ pull_request:
env:
LC_ALL: en_US.UTF-8
@@ -21,7 +27,7 @@ jobs:
JDKxx_Matrix:
strategy:
matrix:
- java: [ 8, 15, 16-ea ]
+ java: [ 8, 11, 16, 17-ea ]
os: [ ubuntu-latest ]
include:
- os: windows-latest
@@ -32,30 +38,13 @@ jobs:
- name: Git Checkout
uses: actions/checkout@v2
- name: Set up Java
- uses: actions/setup-java@v1
+ uses: actions/setup-java@v2
with:
+ distribution: 'zulu'
+ check-latest: ${{ endsWith(matrix.java, '-ea') }}
java-version: ${{ matrix.java }}
- name: Build
+ continue-on-error: ${{contains(matrix.java, '-ea')}}
shell: bash
run: |
mvn -U -e -B -ntp install
- JDKxx_Matrix-Experimental:
- strategy:
- matrix:
- java: [ 8, 15, 16-ea ]
- os: [ ubuntu-latest ]
- include:
- - os: windows-latest
- java: 8
- name: JDK${{ matrix.java }} ${{ matrix.os }} Experimental
- runs-on: ${{ matrix.os }}
- steps:
- - name: Git Checkout
- uses: actions/checkout@v2
- - name: Set up Java
- uses: actions/setup-java@v1
- with:
- java-version: ${{ matrix.java }}
- - name: Build
- run: |
- mvn -U -e -B -ntp install -Pexperimental