Fix icon upload: commit icon.png to repo root (actool doesn't emit AppIcon.png)
Build iOS App / Build .ipa and publish source (push) Successful in 28s

The built bundle contains sized variants (AppIcon60x60@2x.png etc.), not a
file named AppIcon.png, so the CI cp failed and scp aborted. Commit the
1024x1024 icon.png to the repo root and upload it directly.
This commit is contained in:
Hermes
2026-08-13 13:37:58 +00:00
parent ba3cda06bb
commit 8021b0a513
2 changed files with 3 additions and 4 deletions
+3 -4
View File
@@ -87,10 +87,9 @@ jobs:
# Upload .ipa + per-app metadata + icon to perlis via SSH.
# PERLIS_SSH_HOST is the Tailscale MagicDNS name (perlis.bueso.loc),
# reachable from the iMac runner over the Tailscale mesh.
# Extract the app icon from the built bundle as icon.png (the
# metadata's iconURL points at https://apps.bueso.eu/$APP_NAME/icon.png).
APP_PATH=$(find build/Build/Products -name "*.app" -type d | head -1)
cp "$APP_PATH/AppIcon.png" icon.png 2>/dev/null || true
# icon.png is committed to the repo (1024x1024) and uploaded as-is;
# the metadata's iconURL points at
# https://apps.bueso.eu/$APP_NAME/icon.png.
ssh -o StrictHostKeyChecking=no \
"${{ secrets.PERLIS_SSH_USER }}@${{ secrets.PERLIS_SSH_HOST }}" \
"mkdir -p /mnt/appdata/ios-apps/$APP_NAME"
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 781 KiB