Skip to content

Commit 965bd19

Browse files
corrected test logging git script check for jar (#1040)
## Description https://github.com/databricks/databricks-jdbc/actions/runs/18459120212/job/52586271975 OVERRIDE_FREEZE=true NO_CHANGELOG=true --------- Signed-off-by: Nikhil Suri <[email protected]>
1 parent a6d5740 commit 965bd19

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/loggingTesting.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,10 @@ jobs:
4545
- name: Find JAR file
4646
shell: bash
4747
run: |
48-
# Find the main JAR file dynamically
49-
MAIN_JAR=$(find target -name "databricks-jdbc-*-oss.jar" -not -name "*-thin.jar" | head -1)
48+
# Find the main JAR file dynamically (fat JAR, not thin, not tests)
49+
MAIN_JAR=$(find target -maxdepth 1 -name "databricks-jdbc-*.jar" \
50+
-not -name "*-thin.jar" \
51+
-not -name "*-tests.jar" | head -1)
5052
if [ -z "$MAIN_JAR" ]; then
5153
echo "ERROR: Could not find main JAR file in target directory"
5254
ls -la target/

0 commit comments

Comments
 (0)