This is an automated email from the ASF dual-hosted git repository.

olamy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-site-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new 7f8fe7e  [MSITE-877] Shared GitHub Actions (#65)
7f8fe7e is described below

commit 7f8fe7ead4e42b7797eed7eb87c878a16e10b5be
Author: Slawomir Jaranowski <[email protected]>
AuthorDate: Fri Nov 26 00:07:59 2021 +0100

    [MSITE-877] Shared GitHub Actions (#65)
---
 .github/workflows/{maven.yml => maven-verify.yml} | 31 ++++++-----------------
 1 file changed, 8 insertions(+), 23 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven-verify.yml
similarity index 58%
rename from .github/workflows/maven.yml
rename to .github/workflows/maven-verify.yml
index 3416fdd..aef403b 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven-verify.yml
@@ -15,32 +15,17 @@
 # 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:
+    name: Verify
+    uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v1
 
-    strategy:
-      matrix:
-        os: [ubuntu-latest, windows-latest, macOS-latest]
-        java: [8, 11, 17-ea]
-        jdk: [temurin, zulu]
-      fail-fast: false
 
-    runs-on: ${{ matrix.os }}
-
-    steps:
-      - name: Checkout
-        uses: actions/checkout@v2
-
-      - name: Set up JDK
-        uses: actions/setup-java@v2
-        with:
-          cache: 'maven'
-          distribution: ${{ matrix.jdk }}
-          java-version: ${{ matrix.java }}
-
-      - name: Build with Maven
-        run: mvn verify -e -B -V -P run-its
\ No newline at end of file

Reply via email to