From ea7d7e10c3f6ef12718d05a66e13102d55c2db8d Mon Sep 17 00:00:00 2001 From: xiaohei Date: Wed, 22 Apr 2026 16:35:20 +0800 Subject: [PATCH] ci: rm apple-build --- .github/workflows/apple-build.yml | 60 ------------------------------- 1 file changed, 60 deletions(-) delete mode 100644 .github/workflows/apple-build.yml diff --git a/.github/workflows/apple-build.yml b/.github/workflows/apple-build.yml deleted file mode 100644 index 4f71261..0000000 --- a/.github/workflows/apple-build.yml +++ /dev/null @@ -1,60 +0,0 @@ -name: Build Apple (macOS + iOS) - -on: - push: - branches: [main] - -jobs: - build-macos: - runs-on: mac-runner - steps: - - uses: actions/checkout@v4 - - name: Install jq - run: brew install jq - - name: Setup Flutter - uses: actions/flutter-action@v2 - with: - flutter-version: '3.35.7' - - name: Install macOS deps - run: brew install cocoapods - - name: Get dependencies - run: flutter pub get - - name: Build macOS - run: flutter build macos --release - - name: Create DMG - run: | - cd build/macos/Build/Products/Release - hdiutil create -volname Habo -srcfolder habo.app -ov -format UDZO habo.dmg - - name: Upload artifact - uses: actions/upload-artifact@v4 - with: - name: habo-macos - path: build/macos/Build/Products/Release/habo.dmg - - build-ios: - runs-on: mac-runner - steps: - - uses: actions/checkout@v4 - - name: Install jq - run: brew install jq - - name: Setup Flutter - uses: actions/flutter-action@v2 - with: - flutter-version: '3.35.7' - - name: Get dependencies - run: flutter pub get - - name: Install CocoaPods - run: cd ios && pod install - - name: Build iOS - run: flutter build ios --release --no-codesign --no-tree-shake-icons - - name: Package .app - run: | - mkdir -p payload - cp -r build/ios/iphoneos/Runner.app payload/ - cd payload - zip -r ../Habo-iOS-no-sign.zip Runner.app - - name: Upload iOS artifact - uses: actions/upload-artifact@v4 - with: - name: habo-ios-no-sign - path: Habo-iOS-no-sign.zip