You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2021/12/17 14:28:13 UTC
[maven-antrun-plugin] 01/01: Shared GitHub Actions
This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a commit to branch gh-shared
in repository https://gitbox.apache.org/repos/asf/maven-antrun-plugin.git
commit 3d13700008d64e5a07d71d2d6a2818d03e490e3a
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Fri Dec 17 15:26:33 2021 +0100
Shared GitHub Actions
---
.github/workflows/{maven.yml => maven-verify.yml} | 29 +++++++----------------
1 file changed, 8 insertions(+), 21 deletions(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven-verify.yml
similarity index 60%
rename from .github/workflows/maven.yml
rename to .github/workflows/maven-verify.yml
index 4fd53ba..aef403b 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven-verify.yml
@@ -15,30 +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:
- strategy:
- matrix:
- os: [ubuntu-latest, windows-latest, macOS-latest]
- java: [8, 11, 17]
- fail-fast: false
+ name: Verify
+ uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v1
- runs-on: ${{ matrix.os }}
- steps:
- - name: Checkout
- uses: actions/checkout@v2
-
- - name: Set up JDK
- uses: actions/setup-java@v2.3.0
- with:
- distribution: 'temurin'
- java-version: ${{ matrix.java }}
- cache: 'maven'
-
- - name: Build with Maven
- run: mvn verify -e -B -V -Prun-its