Skip to content

Commit

Permalink
chore: try to fix the macos build
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasXu0 committed Jun 17, 2024
1 parent 26ad048 commit c9c8857
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ env:

jobs:
x86_64:
runs-on: macos-latest
runs-on: macos-12

if: ${{ github.event.inputs.arch == 'All' || github.event.inputs.arch == 'x86_64' }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ jobs:
- { target: x86_64-apple-darwin, os: macos-latest }
env:
MACOS_APP_RELEASE_PATH: frontend/appflowy_flutter/product/${{ needs.prepare.outputs.version }}/macos/Release
MACOS_DMG_NAME: AppFlowy_${{ github.ref_name }}_macos-x86_64
MACOS_DMG_NAME: AppFlowy_${{ github.ref_name }}_macos-universal
MACOS_CODESIGN_ID: ${{ secrets.MACOS_CODESIGN_ID }}
steps:
- name: Checkout source code
Expand Down Expand Up @@ -174,8 +174,8 @@ jobs:
working-directory: frontend
run: |
flutter config --enable-macos-desktop
dart ./scripts/flutter_release_build/build_flowy.dart exclude-directives . ${{ needs.prepare.outputs.version }}
cargo make --profile production-mac-x86_64 appflowy
sh scripts/flutter_release_build/build_universal_package_for_macos.sh ${{ needs.prepare.outputs.version }}
- name: Check for Code signing ID
run: |
Expand Down

0 comments on commit c9c8857

Please sign in to comment.