Skip to content

Commit

Permalink
[#169] Fix missing comments
Browse files Browse the repository at this point in the history
  • Loading branch information
doannimble committed Aug 31, 2023
1 parent 47d9b1e commit 7e0beee
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,6 @@ jobs:
channel: 'stable'
flutter-version: '3.10.5'

- name: Generate new project
run: |
dart pub global activate mason_cli
mason get
mason make template -c mason-config.json
# Move the generated project to the root directory for next steps & cleanup to not affect static code analysis
rsync -av --remove-source-files flutter_templates/ ./
rm -rf bricks sample
- name: Get Flutter dependencies
run: flutter pub get

Expand All @@ -64,15 +55,15 @@ jobs:
id: bunlderCache
with:
path: ios/vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: ${{ runner.os }}-gems-
key: ${{#mustacheCase}} runner.os {{/mustacheCase}}-gems-${{#mustacheCase}} hashFiles('**/Gemfile.lock') {{/mustacheCase}}
restore-keys: ${{#mustacheCase}} runner.os {{/mustacheCase}}-gems-

- name: Cache Pods
uses: actions/cache@v3
id: cocoapodCache
with:
path: ios/Pods
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
key: ${{#mustacheCase}} runner.os {{/mustacheCase}}-pods-${{#mustacheCase}} hashFiles('**/Podfile.lock') {{/mustacheCase}}
restore-keys: ${{ runner.os }}-pods-

- name: Bundle install
Expand All @@ -81,8 +72,16 @@ jobs:
- name: Pod install
run: cd ./ios && pod install

- name: Update fastlane
run: cd ./ios && bundle update fastlane

- name: Update plugins
run: cd ./ios && bundle exec fastlane update_plugins

- name: Match AppStore
run: cd ./ios && bundle exec fastlane sync_appstore_production_signing
env:
GITHUB_RUN_NUMBER: $GITHUB_RUN_NUMBER

- name: Deploy to AppStore
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,6 @@ jobs:
channel: 'stable'
flutter-version: '3.10.5'

- name: Generate new project
run: |
dart pub global activate mason_cli
mason get
mason make template -c mason-config.json
# Move the generated project to the root directory for next steps & cleanup to not affect static code analysis
rsync -av --remove-source-files flutter_templates/ ./
rm -rf bricks sample

- name: Get Flutter dependencies
run: flutter pub get

Expand All @@ -64,25 +55,33 @@ jobs:
id: bunlderCache
with:
path: ios/vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: ${{ runner.os }}-gems-
key: ${{#mustacheCase}} runner.os {{/mustacheCase}}-gems-${{#mustacheCase}} hashFiles('**/Gemfile.lock') {{/mustacheCase}}
restore-keys: ${{#mustacheCase}} runner.os {{/mustacheCase}}-gems-

- name: Cache Pods
uses: actions/cache@v3
id: cocoapodCache
with:
path: ios/Pods
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
restore-keys: ${{ runner.os }}-pods-
key: ${{#mustacheCase}} runner.os {{/mustacheCase}}-pods-${{#mustacheCase}} hashFiles('**/Podfile.lock') {{/mustacheCase}}
restore-keys: ${{#mustacheCase}} runner.os {{/mustacheCase}}-pods-

- name: Bundle install
run: cd ./ios && bundle install

- name: Pod install
run: cd ./ios && pod install

- name: Update fastlane
run: cd ./ios && bundle update fastlane

- name: Update plugins
run: cd ./ios && bundle exec fastlane update_plugins

- name: Match AppStore
run: cd ./ios && bundle exec fastlane sync_appstore_production_signing
env:
GITHUB_RUN_NUMBER: $GITHUB_RUN_NUMBER

- name: Deploy to TestFlight
run: |
Expand Down

0 comments on commit 7e0beee

Please sign in to comment.