Skip to content

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

[automation] Update Elastic stack release version source of truth

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

Workflow file for this run

name: build-test
on:
push:
branches: [main]
pull_request:
# 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"