From f580e53fc2fd9c7344bb8ced088fb6c9f114e077 Mon Sep 17 00:00:00 2001 From: "mr. M" Date: Wed, 29 Jan 2025 19:56:34 +0100 Subject: [PATCH] Reorder steps in macOS release build workflow to copy provisioning profile before signing the app --- .github/workflows/macos-universal-release-build.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/macos-universal-release-build.yml b/.github/workflows/macos-universal-release-build.yml index 144027a5c..3ffbebfdd 100644 --- a/.github/workflows/macos-universal-release-build.yml +++ b/.github/workflows/macos-universal-release-build.yml @@ -181,18 +181,19 @@ jobs: p12-file-base64: ${{ secrets.macOS_CERTIFICATES_P12_For_App_BASE64 }} p12-password: ${{ secrets.macOS_CERTIFICATES_P12_PASSWORD }} + - name: Copy provisioning profile for .app (embedded in .app) + run: | + cd engine + echo "Copying provisioning profile for .app on both architectures (${{ env.APP_NAME }})" + cp ./Zen_Browser.provisionprofile "./embedded.provisionprofile" + + - name: Sign .app run: | cd engine # TODO: Change it to "production" once we figure out the issue with the webauth ./mach macos-sign -v -r -c "release" -e "production" -a "./obj-x86_64-apple-darwin/dist/${{ env.APP_NAME }}.app" --rcodesign-p12-file zenCert.p12 --rcodesign-p12-password-file zenpCertPassword.passwd - - name: Copy provisioning profile for .app (embedded in .app) - run: | - cd engine - echo "Copying provisioning profile for .app on both architectures (${{ env.APP_NAME }})" - cp ./Zen_Browser.provisionprofile "./obj-x86_64-apple-darwin/dist/${{ env.APP_NAME }}.app/Contents/embedded.provisionprofile" - - name: Create DMG run: | cd engine