Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

[automation] Update Elastic stack release version source of truth #3274

[automation] Update Elastic stack release version source of truth

[automation] Update Elastic stack release version source of truth #3274

Workflow file for this run

name: build-test
on:
push:
branches: [main]
pull_request:
paths:
- 'resources/**'
- 'src/**'
- 'vars/**'
- '.github/workflows/build-test.yml'
- '.mvn/*'
- 'pom.xml'
- 'mvnw'
# limit the access of the generated GITHUB_TOKEN
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'adopt'
cache: 'maven'
- name: Build with Maven
run: mvn --batch-mode --update-snapshots package
- uses: v1v/otel-upload-test-artifact-action@v2
if: success() || failure()
continue-on-error: true
with:
jobName: "build"
stepName: "Build with Maven"
path: "target/surefire-reports/*.xml"
type: "junit"
githubToken: ${{ secrets.GITHUB_TOKEN }}
- name: Store test results
if: success() || failure()
continue-on-error: true
uses: actions/upload-artifact@v3
with:
name: test-results
path: "target/surefire-reports/*.xml"