Skip to content

Commit

Permalink
Use shared GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
slawekjaranowski authored Apr 21, 2022
1 parent f784eef commit 8d7b024
Showing 1 changed file with 6 additions and 21 deletions.
27 changes: 6 additions & 21 deletions .github/workflows/maven.yml → .github/workflows/maven-verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,13 @@
# specific language governing permissions and limitations
# under the License.

name: Java CI
name: Verify

on: [push, pull_request]
on:
push:
pull_request:

jobs:
build:

strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
fail-fast: false

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

steps:
- name: Checkout
uses: actions/checkout@v1

- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8

- name: Build with Maven
run: mvn install -e -B -V --no-transfer-progress -P run-its
name: Verify
uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v2

0 comments on commit 8d7b024

Please sign in to comment.