Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
aidaiym committed Jul 29, 2024
1 parent f24bdca commit 876e638
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/app_distribution_ios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,23 @@ jobs:
with:
channel: 'stable'

- name: Install dependencies
run: flutter pub get
working-directory: app
- run: flutter doctor

- name: Install CocoaPods dependencies
run: |
cd ios
pod install
working-directory: app
- run: dart pub global activate flutterfire_cli

- name: "Melos Install"
run: dart pub global activate melos

- name: "Melos bs"
run: melos bootstrap

# - name: "Build iOS IPA"
# run: melos build-ipa

- name: Build iOS IPA
uses: cedvdb/action-flutter-build-ios@v1
with:
build-cmd: flutter build ipa --release --flavor dev --export-options-plist=app/ios/GithubActionsExportOptions.plist
build-cmd: melos build-ipa
certificate-base64: ${{ secrets.IOS_BUILD_CERTIFICATE_BASE64 }}
certificate-password: ${{ secrets.IOS_BUILD_CERTIFICATE_PASSWORD }}
provisioning-profile-base64: ${{ secrets.IOS_MOBILE_PROVISIONING_PROFILE_BASE64 }}
Expand Down
4 changes: 4 additions & 0 deletions melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ scripts:
run: cd app && flutter build ios --release --no-codesign
description: "Build an IOS file"

build-ipa:
run: cd app && flutter build ipa --release --flavor dev --export-options-plist=app/ios/GithubActionsExportOptions.plist
description: "Build an IPA"

build-appbundle:
run: cd app && flutter build appbundle
description: "Build an appbundle file"
Expand Down

0 comments on commit 876e638

Please sign in to comment.