Skip to content

Commit

Permalink
Use bundler in CI for iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
WezSieTato committed Aug 1, 2024
1 parent f9283a2 commit c10b98c
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/build_ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,21 @@ jobs:
with:
channel: 'stable'
- run: flutter pub get
- name: Cache bundler gems
uses: actions/cache@v4
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Bundler
run: |
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Cache pods
uses: actions/cache@v3
with:
path: ios/Pods
key: ${{ runner.os }}-pods-${{ hashFiles('ios/Podfile.lock') }}
restore-keys: ${{ runner.os }}-pods-
- run: flutter build ios --no-codesign
- run: bundle exec flutter build ios --no-codesign

0 comments on commit c10b98c

Please sign in to comment.