diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 8a9bcc5..189a41e 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -101,19 +101,14 @@ jobs: mkdir -p ~/Library/Developer/Xcode/Provisioning\ Profiles echo "${{ secrets.APPLE_PROVISION_PROFILE }}" | base64 --decode > ~/Library/Developer/Xcode/Provisioning\ Profiles/Github_Actions.provisionprofile - - name: Compress Universal dylibs - run: ditto -c -k --sequesterRsrc "universal/lib/" "babylon.zip" - - name: Submit for Notarization run: | xcrun notarytool store-credentials --apple-id ${{ secrets.APPLE_ID }} --password ${{ secrets.APPLE_APPLICATION_SPECIFIC_PASSWORD }} --team-id ${{ secrets.APPLE_TEAM_ID }} --validate notorization_profile - xcrun notarytool submit --keychain-profile "notorization_profile" --progress --wait babylon.zip + xcrun notarytool submit --keychain-profile "notorization_profile" --progress --wait universal/lib/libbabylon.dylib - name: Staple Notarization run: | - for dylib in universal/lib/*.dylib; do - xcrun stapler staple $dylib - done + xcrun stapler staple universal/lib/libbabylon.dylib - name: Upload Universal dylibs uses: actions/upload-artifact@v3