![]() Execute the following command to create the Git tag. actions/setup-javav1 with: java-version: 12.x - uses: subosito/flutter-actionv1 with: channel: stable - run: flutter doctor - run: flutter pub get. v2.9.0: rewrite to make simpler drop master and query with v prefix support. To execute GitHub Actions created above, you need to create a Git tag. name : Install packages run : flutter pub get - name : Prebuild run : flutter build appbundle - name : Execute Fastlane command run : cd android & fastlane release Execution name : Prebuild run : flutter build ios -release -no-codesign - name : Execute Fastlane command run : cd ios & fastlane release type:github timeout-minutes : 40 release-android : name : Build and release Android app runs-on : ubuntu-latest steps : - uses : actions/ - uses : actions/ with : distribution : ' zulu' java-version : ' 12.x' - uses : subosito/ with : flutter-version : ' 3.3.8' - uses : ruby/ with : ruby-version : ' 3.1.2' - name : Install Fastlane run : cd android & bundle install & cd. uses: actions/setup-javav1: with: java-version: '12.x' - name: Set up Flutter: uses: subosito/flutter-actionv1: with: channel: 'stable' - name: Install pub Dependencies: run: flutter pub get - name: Run Tests: run: flutter test - name: Build Android App: run: flutter build apk -split-per-abi - name: Build iOS App: run: flutter build ios. 5 Answers Sorted by: 5 Make sure you specify architecture: arm64 - uses: subosito/flutter-actionv1 with: flutter-version: 2.10. First thing we need to do is to setup Flutter in our workflow, we can easily do it using an action from the community: - name: Install and set Flutter version uses: subosito/flutter-actionv1.4.0 with: flutter-version: '2.0. name : Install packages run : flutter pub get - name : Install pods run : cd ios & pod install & cd. ![]() Name : Deploy iOS and Android App to App Store and Play Store on : push : tags : - ' v*' jobs : release-ios : name : Build and release iOS app runs-on : macos-latest steps : - uses : maxim-lobanov/ with : xcode-version : latest-stable - uses : actions/ - uses : subosito/ with : flutter-version : ' 3.3.8' - uses : ruby/ with : ruby-version : ' 3.1.2' - name : Install Fastlane run : cd ios & bundle install & cd.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |