From fcedca13dd3ba1b12ce450008177e7acdad31529 Mon Sep 17 00:00:00 2001 From: Predidit <34627277+Predidit@users.noreply.github.com> Date: Sun, 14 Jul 2024 13:42:02 +0800 Subject: [PATCH] disable ios workflow --- .github/workflows/release.yaml | 44 +----------------------------- ios/Flutter/AppFrameworkInfo.plist | 2 +- 2 files changed, 2 insertions(+), 44 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1e8ce71..f90b18d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -172,42 +172,10 @@ name: macos_outputs path: oneAnime_macos_*.dmg - flutter-build-ios: - name: "Release for iOS" - runs-on: "macos-latest" - permissions: write-all - - steps: - - name: Clone repository - uses: actions/checkout@v4 - - name: Extract tag name - run: echo "tag=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV - - name: Echo build progress - run: echo "oneAnime_ios_${{ env.tag }}.ipa build progress" - - name: Set up Flutter - uses: subosito/flutter-action@v2 - with: - channel: stable - flutter-version-file: pubspec.yaml - - run: flutter pub get - - name: Build IPA - run: | - flutter build ios --release --no-codesign - - name: Create IPA - run: | - mkdir build/ios/iphoneos/Payload - cp -R build/ios/iphoneos/Runner.app build/ios/iphoneos/Payload/Runner.app - zip -q -r oneAnime_ios_${{ env.tag }}_no_sign.ipa build/ios/iphoneos/Payload - - name: Upload iOS build - uses: actions/upload-artifact@v4 - with: - name: ios_outputs - path: oneAnime_ios_*.ipa - release: name: "Release" runs-on: "ubuntu-latest" - needs: [flutter-build-windows, flutter-build-android, flutter-build-linux, flutter-build-macos, flutter-build-ios] + needs: [flutter-build-windows, flutter-build-android, flutter-build-linux, flutter-build-macos] permissions: write-all steps: - name: Clone repository @@ -254,16 +222,6 @@ - name: Copy macos build file to root run: cp macos_outputs/* oneAnime_macos_${{ env.tag }}.dmg - - name: Download iOS build file - uses: actions/download-artifact@v4 - with: - name: ios_outputs - path: ios_outputs - - name: List files in ios_outputs directory - run: ls -l ios_outputs - - name: Copy ios build file to root - run: cp ios_outputs/* oneAnime_ios_${{ env.tag }}_no_sign.ipa - - name: Download android build file uses: actions/download-artifact@v4 with: diff --git a/ios/Flutter/AppFrameworkInfo.plist b/ios/Flutter/AppFrameworkInfo.plist index 1dc6cf7..7c56964 100644 --- a/ios/Flutter/AppFrameworkInfo.plist +++ b/ios/Flutter/AppFrameworkInfo.plist @@ -21,6 +21,6 @@ CFBundleVersion 1.0 MinimumOSVersion - 13.0 + 12.0