Update macOS build workflow to use wildcard for DMG file attachment

This commit is contained in:
mr. M
2025-01-25 17:41:08 +01:00
parent d41f0d7cf4
commit 74a4d982a5

View File

@@ -133,7 +133,7 @@ jobs:
run: |
set -ex
cd engine
hdiutil attach ./obj-x86_64-apple-darwin/dist/zen.macos-x86_64.dmg
hdiutil attach ./obj-x86_64-apple-darwin/dist/zen*.dmg
ls -la /Volumes
ls -la "/Volumes/${{ env.APP_NAME }}"
echo "---"
@@ -141,7 +141,7 @@ jobs:
hdiutil detach "/Volumes/${{ env.APP_NAME }}"
echo "Done extracting x86_64 .app"
echo "--------------------"
hdiutil attach ./obj-aarch64-apple-darwin/dist/zen.macos-aarch64.dmg
hdiutil attach ./obj-aarch64-apple-darwin/dist/zen*.dmg
ls -la /Volumes
ls -la "/Volumes/${{ env.APP_NAME }}"
cp -R "/Volumes/${{ env.APP_NAME }}/${{ env.APP_NAME }}.app" "./obj-aarch64-apple-darwin/dist/zen/"