Skip to content

Commit 3fffd9c

Browse files
authored
[MPMD-328] Shared Github Actions (#48)
1 parent 2175d5e commit 3fffd9c

File tree

1 file changed

+8
-24
lines changed

1 file changed

+8
-24
lines changed

.github/workflows/maven.yml renamed to .github/workflows/maven-verify.yml

Lines changed: 8 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -15,31 +15,15 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
name: GitHub CI
18+
name: Verify
1919

20-
on: [push, pull_request]
20+
on:
21+
push:
22+
branches-ignore:
23+
- dependabot/**
24+
pull_request:
2125

2226
jobs:
2327
build:
24-
25-
strategy:
26-
matrix:
27-
os: [ ubuntu-latest, windows-latest, macOS-latest ]
28-
java: [ 8, 11, 17 ]
29-
fail-fast: false
30-
31-
runs-on: ${{ matrix.os }}
32-
33-
steps:
34-
- name: Checkout
35-
uses: actions/checkout@v2
36-
37-
- name: Set up JDK
38-
uses: actions/setup-java@v2
39-
with:
40-
distribution: 'temurin'
41-
java-version: ${{ matrix.java }}
42-
cache: 'maven'
43-
44-
- name: Build with Maven
45-
run: mvn verify -e -B -V -ntp -P run-its
28+
name: Verify
29+
uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v1

0 commit comments

Comments
 (0)