You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2022/01/03 09:24:47 UTC
[maven-verifier] branch master updated: Use shared GH action from https://github.com/apache/maven-gh-actions-shared
This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-verifier.git
The following commit(s) were added to refs/heads/master by this push:
new 17ebffa Use shared GH action from https://github.com/apache/maven-gh-actions-shared
17ebffa is described below
commit 17ebffa2467caa59f1e47c302ac03d9e00d8c314
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Mon Jan 3 09:58:38 2022 +0100
Use shared GH action from
https://github.com/apache/maven-gh-actions-shared
---
.github/workflows/maven.yml | 39 ++++++++-------------------------------
1 file changed, 8 insertions(+), 31 deletions(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 851c35e..e03f315 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -15,38 +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: [7, 8, 11, 14]
- fail-fast: false
-
- runs-on: ${{ matrix.os }}
-
- steps:
- - name: Checkout
- uses: actions/checkout@v2
-
- - name: Set up cache for ~./m2/repository
- uses: actions/cache@v1
- with:
- path: ~/.m2/repository
- key: maven-${{ matrix.os }}-java${{ matrix.java }}-${{ hashFiles('**/pom.xml') }}
- restore-keys: |
- maven-${{ matrix.os }}-java${{ matrix.java }}-
- maven-${{ matrix.os }}-
-
- - name: Set up JDK
- uses: actions/setup-java@v1
- with:
- java-version: ${{ matrix.java }}
-
- - name: Build with Maven
- run: mvn verify -e -B -V
+ name: Verify
+ uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v1
\ No newline at end of file