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 2021/11/13 18:15:24 UTC
[maven-enforcer] branch master updated: [MENFORCER-404] Shared GitHub Actions
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-enforcer.git
The following commit(s) were added to refs/heads/master by this push:
new ec7fb8d [MENFORCER-404] Shared GitHub Actions
ec7fb8d is described below
commit ec7fb8d6a9b29dee09651236c33abb80b174c9d8
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Sat Nov 13 10:57:53 2021 +0100
[MENFORCER-404] Shared GitHub Actions
---
.github/workflows/{maven.yml => maven-verify.yml} | 28 +++++++----------------
1 file changed, 8 insertions(+), 20 deletions(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven-verify.yml
similarity index 62%
rename from .github/workflows/maven.yml
rename to .github/workflows/maven-verify.yml
index cce2ab8..7a38e97 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven-verify.yml
@@ -15,27 +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:
- - uses: actions/checkout@v2
- - uses: actions/setup-java@v2
- with:
- distribution: 'temurin'
- java-version: ${{ matrix.java }}
- cache: 'maven'
-
- - 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