From 74f67d0216e81689886d11cd86aabce5fa6403b5 Mon Sep 17 00:00:00 2001 From: Imple Lee <80144331+ImpleLee@users.noreply.github.com> Date: Wed, 4 Sep 2024 17:03:16 +0800 Subject: [PATCH] fix macos portable ci (#1152) * use love 11.5 for macos portable * use xcode 15.3 --- .github/workflows/main.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 854dec77..80064e6d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -350,6 +350,12 @@ jobs: shell: bash run: | rm ./ColdClear/universal/libcold_clear.a + - name: Use Xcode 15.3 + # Xcode 15.4 segfaults + # see https://forums.developer.apple.com/forums/thread/757398 + uses: mobiledevops/xcode-select-version-action@v1 + with: + xcode-select-version: 15.3 - name: Build macOS packages id: build-packages uses: love-actions/love-actions-macos-portable@v1 @@ -358,6 +364,7 @@ jobs: bundle-id: ${{ steps.process-app-name.outputs.bundle-id }} copyright: "Copyright © 2019-2023 26F-Studio. Some Rights Reserved." icon-path: ./.github/build/macOS/${{ env.BUILD_TYPE }}/icon.icns + love-ref: "11.5" love-package: ${{ env.CORE_LOVE_PACKAGE_PATH }} libs-path: ./ColdClear/universal/ product-name: ${{ steps.process-app-name.outputs.product-name }}