mirror of
https://github.com/GTNewHorizons/GTNH-Actions-Workflows.git
synced 2026-09-01 03:47:30 +02:00
Limit B&T Individual Artifact Uploads to Jars (#64)
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user