Skip to content

Commit b5774f0

Browse files
committed
Revert "test"
This reverts commit 6013c09.
1 parent 67e295e commit b5774f0

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

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

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -83,16 +83,16 @@ 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
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
9292

9393
- name: Build opentelemetry-java-contrib
9494
uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa #v2
95-
if: ${{ env.patch_otel_java_contrib == 'true' }}
95+
if: ${{ env.patch_otel_java_contrib == 'true' && inputs.run_tests == 'false' }}
9696
with:
9797
arguments: publishToMavenLocal --scan --no-daemon
9898
build-root-directory: opentelemetry-java-contrib
@@ -102,16 +102,16 @@ runs:
102102
if: ${{ env.patch_otel_java_contrib == 'true' }}
103103
shell: bash
104104

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
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
111111

112112
- name: Build opentelemetry java instrumentation
113113
uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa #v2
114-
if: ${{ env.patch_otel_java_instrumentation == 'true' }}
114+
if: ${{ env.patch_otel_java_instrumentation == 'true' && inputs.run_tests == 'false' }}
115115
with:
116116
arguments: publishToMavenLocal --scan --no-daemon
117117
build-root-directory: opentelemetry-java-instrumentation

0 commit comments

Comments
 (0)