Skip to content

Commit 442eab2

Browse files
Shared GitHub Actions
1 parent 8969e32 commit 442eab2

File tree

1 file changed

+8
-21
lines changed

1 file changed

+8
-21
lines changed

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

Lines changed: 8 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -15,30 +15,17 @@
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-
strategy:
25-
matrix:
26-
os: [ubuntu-latest, windows-latest, macOS-latest]
27-
java: [8, 11, 17]
28-
fail-fast: false
28+
name: Verify
29+
uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v1
2930

30-
runs-on: ${{ matrix.os }}
3131

32-
steps:
33-
- name: Checkout
34-
uses: actions/checkout@v2
35-
36-
- name: Set up JDK
37-
uses: actions/[email protected]
38-
with:
39-
distribution: 'temurin'
40-
java-version: ${{ matrix.java }}
41-
cache: 'maven'
42-
43-
- name: Build with Maven
44-
run: mvn verify -e -B -V -Prun-its

0 commit comments

Comments
 (0)