Skip to content

feat!: Trim io.a2a.apec package #1212

feat!: Trim io.a2a.apec package

feat!: Trim io.a2a.apec package #1212

Workflow file for this run

name: Build and Test
on:
# Handle all branches for now
push:
pull_request:
workflow_dispatch:
# Only run the latest job
concurrency:
group: '${{ github.workflow }} @ ${{ github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: ['17', '21', '25']
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
cache: maven
- name: Build with Maven and run tests
run: mvn -Pjavadoc -B package --file pom.xml -fae
- name: Upload Test Reports
if: failure()
uses: actions/upload-artifact@v4
with:
name: surefire-reports-java-${{ matrix.java-version }}
path: |
**/target/surefire-reports/
**/target/failsafe-reports/
retention-days: 7
if-no-files-found: warn
- name: Upload Build Logs
if: failure()
uses: actions/upload-artifact@v4
with:
name: build-logs-java-${{ matrix.java-version }}
path: |
**/target/*.log
**/target/quarkus.log
retention-days: 3
if-no-files-found: ignore