Skip to content

Commit

Permalink
ci: Use Fastlane of GitHub Action (#1363)
Browse files Browse the repository at this point in the history
The images of GitHub Actions come with fastlane. We can skip the install
and make the jobs faster.
  • Loading branch information
philipphofmann committed Oct 6, 2021
1 parent 8b4ddb4 commit 74d66ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ jobs:
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
- run: ./scripts/ci-select-xcode.sh
- run: bundle install

- name: Run Fastlane
env:
Expand All @@ -27,8 +25,7 @@ jobs:
MATCH_GIT_PRIVATE_KEY: ${{ secrets.MATCH_GIT_PRIVATE_KEY }}
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
MATCH_USERNAME: ${{ secrets.MATCH_USERNAME }}
run: |
bundle exec fastlane build_ios_swift
run: fastlane build_ios_swift
shell: sh

build-sample:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,8 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
- run: ./scripts/ci-select-xcode.sh
- run: bundle install

- name: Run Fastlane
run: bundle exec fastlane ui_tests
run: fastlane ui_tests
shell: sh

0 comments on commit 74d66ff

Please sign in to comment.