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
+1 -1
View File
@@ -183,7 +183,7 @@ jobs:
id: find-artifacts id: find-artifacts
shell: bash shell: bash
run: | 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 if (( ${#files[@]} > 10 )); then
echo "::warning::Found ${#files[@]} files in build/libs, but only the first 10 will be uploaded individually." echo "::warning::Found ${#files[@]} files in build/libs, but only the first 10 will be uploaded individually."