Limit B&T Individual Artifact Uploads to Jars (#64)

This commit is contained in:
UltraProdigy 2026-05-22 00:33:31 -04:00 committed by GitHub
parent 6c377742ea
commit 7faf7c4f1a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -183,7 +183,7 @@ jobs:
id: find-artifacts
shell: bash
run: |
mapfile -t files < <(find build/libs -maxdepth 1 -type f | sort)
mapfile -t files < <(find build/libs -maxdepth 1 -type f -name '*.jar' | sort)
if (( ${#files[@]} > 10 )); then
echo "::warning::Found ${#files[@]} files in build/libs, but only the first 10 will be uploaded individually."