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-artifact-transfer.git
The following commit(s) were added to refs/heads/master by this push:
new 52fcf56 [MSHARED-1000] Shared GitHub Actions (#53)
52fcf56 is described below
commit 52fcf566b5917a940708d87dab337651b88d1442
Author: Slawomir Jaranowski <[email protected]>
AuthorDate: Fri Nov 26 00:08:50 2021 +0100
[MSHARED-1000] Shared GitHub Actions (#53)
---
.github/workflows/{maven.yml => maven-verify.yml} | 36 +++++------------------
1 file changed, 8 insertions(+), 28 deletions(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven-verify.yml
similarity index 52%
rename from .github/workflows/maven.yml
rename to .github/workflows/maven-verify.yml
index 9eaa3a5..aef403b 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven-verify.yml
@@ -15,37 +15,17 @@
# specific language governing permissions and limitations
# under the License.
-name: Java 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]
- 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/[email protected]
-
- - name: Set up cache for ~/.m2/repository
- uses: actions/[email protected]
- 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@v2
- with:
- java-version: '8'
- distribution: 'adopt'
-
- - name: Build with Maven
- run: mvn clean verify -e -B -V -P run-its