Skip to content

Initial Implementation of OpenTelemetry Metrics Publisher for Java AWS SDK #3

Initial Implementation of OpenTelemetry Metrics Publisher for Java AWS SDK

Initial Implementation of OpenTelemetry Metrics Publisher for Java AWS SDK #3

Workflow file for this run

name: Java CI
on:
# Triggers the workflow on push or pull request events for the main branch
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ '17', '21' ]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java-version }}
distribution: 'corretto'
cache: maven
- name: Build with Maven
run: mvn clean verify
- name: Upload test results
if: always()
uses: actions/upload-artifact@v3
with:
name: test-results
path: target/surefire-reports/*.xml