You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by cs...@apache.org on 2021/10/18 10:35:23 UTC
[maven-plugin-tools] branch master updated: use shared gh action
(#44)
This is an automated email from the ASF dual-hosted git repository.
cstamas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-plugin-tools.git
The following commit(s) were added to refs/heads/master by this push:
new f71d87c use shared gh action (#44)
f71d87c is described below
commit f71d87cbb105e7c59ff63a2f849ebf99dad41387
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Mon Oct 18 12:35:15 2021 +0200
use shared gh action (#44)
---
.github/workflows/maven.yml | 34 +++++++---------------------------
1 file changed, 7 insertions(+), 27 deletions(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index e3db6db..fb031c3 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -17,33 +17,13 @@
name: Java CI
-on: [push, pull_request]
+on:
+ push:
+ branches-ignore:
+ - dependabot/**
+ pull_request:
jobs:
build:
- strategy:
- matrix:
- os: [ubuntu-latest, windows-latest, macOS-latest]
- fail-fast: false
-
- runs-on: ${{ matrix.os }}
-
- steps:
- - name: Checkout
- uses: actions/checkout@v2
-
- - name: Set up cache for ~/.m2/repository
- uses: actions/cache@v2
- with:
- path: ~/.m2/repository
- key: maven-${{ matrix.os }}-${{ hashFiles('**/pom.xml') }}
- restore-keys: |
- maven-${{ matrix.os }}-
-
- - name: Set up JDK 1.8
- uses: actions/setup-java@v1
- with:
- java-version: 1.8
-
- - name: Build with Maven
- run: mvn clean verify -e -B -V -P run-its
+ name: Verify
+ uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify-with-its.yml@main