Skip to content

Merge tag '3.2.0' into develop #12

Merge tag '3.2.0' into develop

Merge tag '3.2.0' into develop #12

Workflow file for this run

name: build
on:
push:
branches: [ develop, 'feature/**' ]
pull_request:
branches: [ develop, 'feature/**' ]
workflow_dispatch:
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 8, 11 ]
steps:
- name: Checkout GitHub sources
uses: actions/checkout@v4
- name: Setup JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: ${{ matrix.java }}
- name: Cache Maven packages
uses: actions/cache@v4
with:
path: |
~/.m2/repository
!~/.m2/repository/io/aklivity/k3po
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build with Maven
run: ./mvnw -B -U -nsu -Dfailsafe.skipAfterFailureCount=1 install
- name: Conditional Artifact Upload
uses: actions/upload-artifact@v4
if: failure()
with:
name: k3po-build-${{ matrix.java }}-${{ github.event.number }}
path: |
**/hs_err_pid*.log
**/target/surefire-reports/
**/target/failsafe-reports/