Skip to content

Commit 0b3e6b9

Browse files
committed
updating build-root-directory to working-directory
1 parent a674698 commit 0b3e6b9

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ runs:
6666

6767
- name: Build opentelemetry-java with tests
6868
if: ${{ env.patch_otel_java == 'true' && inputs.run_tests != 'false' }}
69-
build-root-directory: opentelemetry-java
69+
with:
70+
working-directory: opentelemetry-java
7071
run: ./gradlew build publishToMavenLocal
7172

7273
- name: Setup Gradle
@@ -88,7 +89,8 @@ runs:
8889

8990
- name: Build opentelemetry-java-contrib without tests
9091
if: ${{ env.patch_otel_java_contrib == 'true' && inputs.run_tests != 'false' }}
91-
build-root-directory: opentelemetry-java-contrib
92+
with:
93+
working-directory: opentelemetry-java-contrib
9294
run: ./gradlew build publishToMavenLocal
9395

9496
- name: Build opentelemetry-java-contrib
@@ -97,7 +99,8 @@ runs:
9799

98100
- name: Build opentelemetry-java-contrib
99101
if: ${{ env.patch_otel_java_contrib == 'true' && inputs.run_tests == 'false' }}
100-
build-root-directory: opentelemetry-java-contrib
102+
with:
103+
working-directory: opentelemetry-java-contrib
101104
run: ./gradlew publishToMavenLocal
102105

103106
- name: cleanup opentelemetry-java-contrib

.github/workflows/pr-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ jobs:
216216

217217
- name: Setup Java
218218
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
219-
with:
219+
with:
220220
java-version-file: .java-version
221221
distribution: temurin
222222

0 commit comments

Comments
 (0)