diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5bd27d4c5..868c2d389 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -49,9 +49,6 @@ jobs: libpulse-dev libudev-dev libpng-dev libncurses5-dev libx11-xcb-dev libfreetype-dev \ libxinerama-dev libxcursor-dev python3-markupsafe libgtk-3-dev - yarn global add @sentry/cli - echo "$(yarn global bin)" >> $GITHUB_PATH - # setup buildcache curl -LSfs https://github.com/encounter/buildcache/releases/download/$BUILDCACHE_VERSION/buildcache-linux.tar.gz | tar xz -C "$RUNNER_WORKSPACE" echo "$RUNNER_WORKSPACE"/buildcache/bin >> $GITHUB_PATH diff --git a/ci/build-dmg.sh b/ci/build-dmg.sh index fe429d03c..57bb89506 100755 --- a/ci/build-dmg.sh +++ b/ci/build-dmg.sh @@ -1,7 +1,9 @@ #!/bin/bash -ex cd build/install for i in Metaforce crashpad_handler; do - codesign --timestamp --options runtime -s "$CODESIGN_IDENT" Metaforce.app/Contents/MacOS/$i + if [ -x "Metaforce.app/Contents/MacOS/$i" ]; then + codesign --timestamp --options runtime -s "$CODESIGN_IDENT" "Metaforce.app/Contents/MacOS/$i" + fi done create-dmg Metaforce.app --identity="$CODESIGN_IDENT" . xcrun altool -t osx -f *.dmg --primary-bundle-id com.axiodl.Metaforce \