From c50abc2c9a884e71ed0874b6eb149a364b1cf53f Mon Sep 17 00:00:00 2001 From: Albert221 Date: Tue, 30 Aug 2022 00:27:15 +0200 Subject: [PATCH] Remove build step from ios workflow --- .github/workflows/release-app-store.yml | 5 +---- fastlane/Fastfile | 5 +++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release-app-store.yml b/.github/workflows/release-app-store.yml index eaf02e8..70fac23 100644 --- a/.github/workflows/release-app-store.yml +++ b/.github/workflows/release-app-store.yml @@ -37,9 +37,6 @@ jobs: - name: Download pub dependencies run: flutter pub get - - name: Build iOS application bundle - run: flutter build ios --no-codesign - - name: Cache bundle dependencies uses: actions/cache@v2 with: @@ -53,7 +50,7 @@ jobs: bundle config path vendor/bundle bundle install - - name: Release to App Store + - name: Match, build IPA and release env: MATCH_GIT_URL: ${{ secrets.MATCH_GIT_URL }} MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 488b94b..8acb966 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -34,13 +34,14 @@ platform :ios do #{ENV["sigh_#{ENV["APPLE_APP_IDENTIFIER"]}_appstore_profile-name"]} -EOF + + EOF File.write("build/ExportOptions.plist", export_options) sh('flutter build ipa --release --export-options-plist=build/ExportOptions.plist') upload_to_app_store( - ipa: "build/ios/iphoneos/Runner.app" + ipa: "build/ios/iphoneos/Runner.app", force: true, overwrite_screenshots: true,