minor readme changes (#157) #464
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
# validate gradle wrapper binary https://github.com/gradle/wrapper-validation-action | |
gradle-wrapper-validation: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: gradle/[email protected] | |
gradle: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Gradle JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 17 | |
cache: gradle | |
- name: Gradle build, test and check | |
uses: gradle/gradle-build-action@v3 | |
with: | |
arguments: check | |
- name: Store test results | |
if: success() || failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: test-results | |
path: '**/build/test-results/test/TEST-*.xml' | |
- name: Agent artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: elastic-otel-javaagent | |
path: | | |
./agent/build/libs/elastic-otel-javaagent-*.jar |