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
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:
@@ -87,10 +87,9 @@ jobs:
|
|||||||
# Upload .ipa + per-app metadata + icon to perlis via SSH.
|
# Upload .ipa + per-app metadata + icon to perlis via SSH.
|
||||||
# PERLIS_SSH_HOST is the Tailscale MagicDNS name (perlis.bueso.loc),
|
# PERLIS_SSH_HOST is the Tailscale MagicDNS name (perlis.bueso.loc),
|
||||||
# reachable from the iMac runner over the Tailscale mesh.
|
# reachable from the iMac runner over the Tailscale mesh.
|
||||||
# Extract the app icon from the built bundle as icon.png (the
|
# icon.png is committed to the repo (1024x1024) and uploaded as-is;
|
||||||
# metadata's iconURL points at https://apps.bueso.eu/$APP_NAME/icon.png).
|
# the metadata's iconURL points at
|
||||||
APP_PATH=$(find build/Build/Products -name "*.app" -type d | head -1)
|
# https://apps.bueso.eu/$APP_NAME/icon.png.
|
||||||
cp "$APP_PATH/AppIcon.png" icon.png 2>/dev/null || true
|
|
||||||
ssh -o StrictHostKeyChecking=no \
|
ssh -o StrictHostKeyChecking=no \
|
||||||
"${{ secrets.PERLIS_SSH_USER }}@${{ secrets.PERLIS_SSH_HOST }}" \
|
"${{ secrets.PERLIS_SSH_USER }}@${{ secrets.PERLIS_SSH_HOST }}" \
|
||||||
"mkdir -p /mnt/appdata/ios-apps/$APP_NAME"
|
"mkdir -p /mnt/appdata/ios-apps/$APP_NAME"
|
||||||
|
|||||||
Reference in New Issue
Block a user