Upgrade to otel 2.10.0 #189
Workflow file for this run
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 main and pull requests | |
on: | |
push: | |
branches: [ "**" ] | |
pull_request: | |
branches: [ "main" ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number }} | |
cancel-in-progress: false | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: GIT Checkout | |
uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: temurin | |
# using wrapper version (supposed to be 7.5.1) | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
gradle-version: wrapper | |
- name: Gradle build | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: clean build | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: digma-otel-agent-extension | |
path: ./agent-extension/build/libs/digma-otel-agent-extension*.jar | |
retention-days: 5 | |
- name: Upload agent-extension tests report | |
uses: actions/upload-artifact@v3 | |
with: | |
name: agent-extension-tests-report | |
path: ./agent-extension/build/reports/tests/ | |
retention-days: 5 | |
- name: Upload methods instrumentation tests report | |
uses: actions/upload-artifact@v3 | |
with: | |
name: methods-instrumentation-tests-report | |
path: ./testing/methods/build/reports/tests/ | |
retention-days: 5 | |
- name: Upload java 7 instrumentation tests report | |
uses: actions/upload-artifact@v3 | |
with: | |
name: java7-instrumentation-tests-report | |
path: ./testing/java7/build/reports/tests/ | |
retention-days: 5 |