Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GH action step to test shadowJar #309

Merged
merged 2 commits into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,30 @@ jobs:
remote-build-cache-proxy-enabled: false
build-root-directory: ${{matrix.build-root}}
arguments: test
shadow:
strategy:
matrix:
java-version: [11]
name: Shadow Jar Build (Java ${{matrix.java-version}})
runs-on: ubuntu-latest
steps:
- id: checkout-repo
uses: actions/checkout@v2
with:
fetch-depth: 0
- id: setup-java
name: Setup Java ${{matrix.java-version}}
uses: actions/setup-java@v1
with:
java-version: ${{matrix.java-version}}
- id: setup-gradle-cache
name: Run Gradle Build with ShadowJar
uses: burrunan/gradle-cache-action@v1.6
with:
job-id: gradle-shadow-java-${{matrix.java-version}}
remote-build-cache-proxy-enabled: false
build-root-directory: .
arguments: shadowJar
style:
name: Stylecheck (${{matrix.name || matrix.build-root}})
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions exporters/auto/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ dependencies {
}
implementation(libraries.opentelemetry_gcp_resources) {
exclude group: 'io.opentelemetry'
exclude group: 'com.fasterxml.jackson.core'
}
implementation(project(':propagators-gcp')) {
exclude group: 'io.opentelemetry'
Expand Down
Loading