Skip to content

Commit

Permalink
Use split pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
abelsromero committed Mar 19, 2024
1 parent 4d9e2f6 commit 8d6e722
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 55 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/ci-development-branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Build
on:
push:
branches:
- main
paths-ignore:
- LICENCE
- NOTICE
- README.adoc
- docs/**
pull_request:
branches:
- main
paths-ignore:
- LICENCE
- NOTICE
- README.adoc
- docs/**

jobs:
build:
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
java-version:
- 11
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Java ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java-version }}
cache: 'maven'
cache-dependency-path: 'pom.xml'
- name: Build & Test
run: mvn -B clean verify
41 changes: 41 additions & 0 deletions .github/workflows/ci-maintenance-branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Build
on:
push:
branches:
- v1.5.x
paths-ignore:
- LICENCE
- NOTICE
- README.adoc
- docs/**
pull_request:
branches:
- v1.5.x
paths-ignore:
- LICENCE
- NOTICE
- README.adoc
- docs/**

jobs:
build:
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
java-version:
- 8
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Java ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java-version }}
cache: 'maven'
cache-dependency-path: 'pom.xml'
- name: Build & Test
run: mvn -B -Prun-its clean verify
55 changes: 0 additions & 55 deletions .github/workflows/ci.yml

This file was deleted.

0 comments on commit 8d6e722

Please sign in to comment.