Skip to content

Commit 23f6e98

Browse files
committed
Fix macOS CI: use printf + env vars for DevID p12 to avoid shell quoting issues
1 parent 1463c84 commit 23f6e98

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,12 @@ jobs:
4242
run: |
4343
echo "${{ secrets.APPLE_APPSTORE_P12 }}" | base64 -d > /tmp/macos_appstore.p12
4444
echo "${{ secrets.APPLE_INSTALLER_P12 }}" | base64 -d > /tmp/macos_installer.p12
45-
echo "${{ secrets.APPLE_DEVID_P12_PART1 }}${{ secrets.APPLE_DEVID_P12_PART2 }}" | base64 -d > /tmp/macos_devid.p12
45+
printf '%s' "$DEVID_PART1" "$DEVID_PART2" | base64 -d > /tmp/macos_devid.p12
46+
echo "DevID p12 size: $(wc -c < /tmp/macos_devid.p12) bytes (expected ~43839)"
4647
echo "${{ secrets.APPLE_P8_KEY }}" | base64 -d > /tmp/appstore_connect.p8
48+
env:
49+
DEVID_PART1: ${{ secrets.APPLE_DEVID_P12_PART1 }}
50+
DEVID_PART2: ${{ secrets.APPLE_DEVID_P12_PART2 }}
4751

4852
- name: Inject credential paths into perry.toml
4953
run: |

0 commit comments

Comments
 (0)