Skip to content

Commit

Permalink
Merge pull request #1711 from ghutchis/more-reliable-mac-dmg
Browse files Browse the repository at this point in the history
Try to build Mac DMG more reliably
  • Loading branch information
ghutchis authored Sep 12, 2024
2 parents 9083a95 + 11d4d5a commit 6fe1f09
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build_cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,11 @@ jobs:
CODESIGN_IDENTITY: ${{ secrets.CODESIGN_ID }}
PRODUCT_BUNDLE_IDENTIFIER: cc.avogadro
run: |
# be sure the DMG can be created easily
# https://github.com/actions/runner-images/issues/7522#issuecomment-1556766641
echo killing...; sudo pkill -9 XProtect >/dev/null || true;
echo waiting...; while pgrep XProtect; do sleep 3; done;
# create variables
if [ -n "${P12_PASSWORD}" ]; then
CERTIFICATE_PATH=$RUNNER_TEMP/build_certificate.p12
Expand Down

0 comments on commit 6fe1f09

Please sign in to comment.