build: allow multiple photos for an app
- Commit
4fcc4ebe36ba541ad9b67f3e7eaa269790b5ee22- Author
- Vayun Mathur <[email protected]>
- When
- 2026-06-10 22:05 UTC (5 months ago)
- Parents
95bc1c6
Diff
.github/workflows/android.yml
diff --git a/.github/workflows/android.yml b/.github/workflows/android.ymlindex 8f3d4cbbe0..33b6fe68a5 100644--- a/.github/workflows/android.yml+++ b/.github/workflows/android.yml@@ -94,9 +94,12 @@ jobs: cp "$icon_source" "$target_path/graphics/icon/icon.png" fi - screenshot_source="metadata_data/photos/${module_key}.png"- if [ -f "$screenshot_source" ]; then- cp "$screenshot_source" "$target_path/graphics/phone-screenshots/1.png"+ screenshot_dir="metadata_data/photos/${module_key}"+ screenshot_file="metadata_data/photos/${module_key}.png"+ if [ -d "$screenshot_dir" ]; then+ cp "$screenshot_dir"/*.png "$target_path/graphics/phone-screenshots/"+ elif [ -f "$screenshot_file" ]; then+ cp "$screenshot_file" "$target_path/graphics/phone-screenshots/1.png" fi metadata_src="metadata_data/${module_key}.md"