diff --git a/.github/workflows/macos-updates.yml b/.github/workflows/macos-updates.yml index 3e6b5d03247793..f155cf74c54944 100644 --- a/.github/workflows/macos-updates.yml +++ b/.github/workflows/macos-updates.yml @@ -110,9 +110,9 @@ jobs: security import $RUNNER_TEMP/cert.p12 \ -k $RUNNER_TEMP/buildagent.keychain \ -P "$I2" \ - -T /usr/bin/productbuild + -T /usr/bin/pkgbuild security set-key-partition-list \ - -S apple-tool:,apple:,productbuild: \ + -S apple-tool:,apple:,pkgbuild: \ -s -k pwd \ $RUNNER_TEMP/buildagent.keychain @@ -154,6 +154,8 @@ jobs: make -C git/.github/macos-installer V=1 codesign \ APPLE_APP_IDENTITY="$A3" || die "Creating signed payload failed" + exit 1 + # Build and sign pkg make -C git/.github/macos-installer V=1 pkg \ APPLE_INSTALLER_IDENTITY="$I3" \