Skip to content

Commit

Permalink
fix: macos ci build
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasXu0 committed Jun 6, 2024
1 parent 8761fce commit b1b21c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,8 @@ jobs:
- name: Build AppFlowy
working-directory: frontend
run: |
cd appflowy_flutter
flutter config --enable-macos-desktop
flutter pub get
flutter packages pub get
cd ..
cargo make --profile production-mac-x86_64 appflowy
dart ./scripts/flutter_release_build/build_flowy.dart run . ${{ github.event.inputs.build_name }}
- name: Codesign AppFlowy
run: |
Expand Down Expand Up @@ -197,12 +193,8 @@ jobs:
- name: Build AppFlowy
working-directory: frontend
run: |
cd appflowy_flutter
flutter config --enable-macos-desktop
flutter pub get
flutter packages pub get
cd ..
cargo make --profile production-mac-arm64 appflowy
dart ./scripts/flutter_release_build/build_flowy.dart run . ${{ github.event.inputs.build_name }}
- name: Codesign AppFlowy
run: |
Expand Down Expand Up @@ -253,7 +245,7 @@ jobs:


universal:
runs-on: macos-11
runs-on: macos-latest

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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ jobs:
fail-fast: false
matrix:
job:
- { target: x86_64-apple-darwin, os: macos-14 }
- { 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
Expand Down

0 comments on commit b1b21c1

Please sign in to comment.