Skip to content

Commit fb1e818

Browse files
author
Jeel Mehta
committed
Testing it with local patch
1 parent d3f6ca3 commit fb1e818

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/release-udp-exporter.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,16 @@ jobs:
2424
distribution: 'temurin'
2525
cache: 'gradle' # Add gradle caching
2626

27+
- name: Configure Git
28+
run: |
29+
git config --global user.email "[email protected]"
30+
git config --global user.name "Your Name"
31+
32+
- name: Run Local Patch
33+
run: |
34+
chmod +x ./scripts/local_patch.sh
35+
./scripts/local_patch.sh
36+
2737
# Add this step to set up Maven Local
2838
- name: Set up Maven Local
2939
run: |
@@ -45,9 +55,8 @@ jobs:
4555
./xray -o -n us-west-2 -f ./daemon-logs.log --log-level debug &
4656
4757
- name: Install UDP Exporter
48-
working-directory: exporters/aws-otel-otlp-udp-exporter
4958
run: |
50-
gradle publishToMavenLocal
59+
./gradlew -p ./exporters/aws-otel-otlp-udp-exporter publishToMavenLocal
5160
5261
- name: Ensure Unit Tests are passing
5362
working-directory: exporters/aws-otel-otlp-udp-exporter

0 commit comments

Comments
 (0)