Skip to content

Commit

Permalink
Improved logs
Browse files Browse the repository at this point in the history
  • Loading branch information
vvolkgang committed Nov 28, 2024
1 parent c843441 commit bb7846e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Scripts/download-artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,22 @@ mkdir -p "$TARGET_PATH"

cd "$TARGET_PATH" || exit 1

echo "Downloading artifacts from GitHub run $GITHUB_RUN_ID..."
echo "πŸƒβ€β™‚οΈπŸ’¨ Downloading artifacts from GitHub run $GITHUB_RUN_ID..."
gh run download "$GITHUB_RUN_ID"

# Output downloaded files
file_count=$(find . -type f | wc -l)
if [ "$file_count" -eq 0 ]; then
echo "No files downloaded, processing skipped."
echo "πŸ‘€ No files downloaded, processing skipped."
exit 0
fi

echo "Downloaded $file_count file(s)."
echo "πŸŽ‰ Downloaded $file_count file(s)."
echo "Downloaded files:"
find . -type f

# Process downloaded artifacts
echo "πŸ“¦ Zipping artifacts"
for dir in */; do
if [ ! -d "$dir" ]; then
continue
Expand Down

0 comments on commit bb7846e

Please sign in to comment.