mirror of
https://github.com/GTNewHorizons/GTNH-Actions-Workflows.git
synced 2026-05-30 13:59:55 +02:00
Limit B&T Individual Artifact Uploads to Jars (#64)
This commit is contained in:
parent
6c377742ea
commit
7faf7c4f1a
2
.github/workflows/build-and-test.yml
vendored
2
.github/workflows/build-and-test.yml
vendored
@ -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."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user