Skip to content

Commit 8d7b024

Browse files
Use shared GitHub actions
1 parent f784eef commit 8d7b024

File tree

1 file changed

+6
-21
lines changed

1 file changed

+6
-21
lines changed

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

+6-21
Original file line numberDiff line numberDiff line change
@@ -15,28 +15,13 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

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

20-
on: [push, pull_request]
20+
on:
21+
push:
22+
pull_request:
2123

2224
jobs:
2325
build:
24-
25-
strategy:
26-
matrix:
27-
os: [ubuntu-latest, windows-latest, macOS-latest]
28-
fail-fast: false
29-
30-
runs-on: ${{ matrix.os }}
31-
32-
steps:
33-
- name: Checkout
34-
uses: actions/checkout@v1
35-
36-
- name: Set up JDK 1.8
37-
uses: actions/setup-java@v1
38-
with:
39-
java-version: 1.8
40-
41-
- name: Build with Maven
42-
run: mvn install -e -B -V --no-transfer-progress -P run-its
26+
name: Verify
27+
uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v2

0 commit comments

Comments
 (0)