Skip to content

Commit 855fdfe

Browse files
committed
test
1 parent 69c1f2f commit 855fdfe

File tree

1 file changed

+15
-22
lines changed

1 file changed

+15
-22
lines changed

.github/actions/patch-dependencies/action.yml

Lines changed: 15 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -83,16 +83,9 @@ runs:
8383
if: ${{ env.patch_otel_java == 'true' }}
8484
shell: bash
8585

86-
# - name: Build opentelemetry-java-contrib with tests
87-
# uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa #v2
88-
# if: ${{ env.patch_otel_java_contrib == 'true' && inputs.run_tests != 'false' }}
89-
# with:
90-
# arguments: build publishToMavenLocal --scan --no-daemon
91-
# build-root-directory: opentelemetry-java-contrib
92-
9386
- name: Build opentelemetry-java-contrib
9487
uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa #v2
95-
if: ${{ env.patch_otel_java_contrib == 'true' && inputs.run_tests != 'true' }}
88+
if: ${{ env.patch_otel_java_contrib == 'true' }}
9689
with:
9790
arguments: publishToMavenLocal --scan --no-daemon
9891
build-root-directory: opentelemetry-java-contrib
@@ -102,21 +95,21 @@ runs:
10295
if: ${{ env.patch_otel_java_contrib == 'true' }}
10396
shell: bash
10497

105-
- name: Build opentelemetry-java-instrumentation with tests
106-
uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa #v2
107-
if: ${{ env.patch_otel_java_instrumentation == 'true' && inputs.run_tests != 'false' }}
108-
with:
109-
arguments: check -x spotlessCheck publishToMavenLocal --scan --no-daemon
110-
build-root-directory: opentelemetry-java-instrumentation
111-
112-
# - name: Build opentelemetry java instrumentation
98+
# - name: Build opentelemetry-java-instrumentation with tests
11399
# uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa #v2
114-
# if: ${{ env.patch_otel_java_instrumentation == 'true' && inputs.run_tests != 'true' }}
100+
# if: ${{ env.patch_otel_java_instrumentation == 'true' && inputs.run_tests != 'false' }}
115101
# with:
116-
# arguments: publishToMavenLocal --scan --no-daemon
102+
# arguments: check -x spotlessCheck publishToMavenLocal --scan --no-daemon
117103
# build-root-directory: opentelemetry-java-instrumentation
118104

119-
# - name: cleanup opentelmetry-java-instrumentation
120-
# run: rm -rf opentelemetry-java-instrumentation
121-
# if: ${{ env.patch_otel_java_instrumentation == 'true' }}
122-
# shell: bash
105+
- name: Build opentelemetry java instrumentation
106+
uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa #v2
107+
if: ${{ env.patch_otel_java_instrumentation == 'true' && inputs.run_tests != 'true' }}
108+
with:
109+
arguments: publishToMavenLocal --scan --no-daemon
110+
build-root-directory: opentelemetry-java-instrumentation
111+
112+
- name: cleanup opentelmetry-java-instrumentation
113+
run: rm -rf opentelemetry-java-instrumentation
114+
if: ${{ env.patch_otel_java_instrumentation == 'true' }}
115+
shell: bash

0 commit comments

Comments
 (0)