Skip to content

Commit aa8a40b

Browse files
committed
ci: exclude sources/javadoc jars from agent build report
1 parent 9b42e9b commit aa8a40b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ jobs:
117117

118118
- name: Report built version
119119
run: |
120-
ARTIFACT=$(basename agent/target/debugger-agent-*.jar)
120+
ARTIFACT=$(find agent/target -maxdepth 1 -name 'debugger-agent-*.jar' \
121+
! -name '*-sources.jar' ! -name '*-javadoc.jar' -printf '%f\n')
121122
echo "Built: $ARTIFACT"
122123
echo "### Agent" >> $GITHUB_STEP_SUMMARY
123124
echo "\`$ARTIFACT\`" >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)