2020-01-31-Github-Actions-Fastlane
Open Repository locally.
Add
.githubfolderAdd
workflowfolder inside.githubfolder.Add
swift.ymlfile.Add contents as follows in
swift.ymlfile.
name: iOS Compile Check
on:
pull_request:
branches:
- development
jobs:
build:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1
- name: Build
run: bundle install; pod install; bundle exec fastlane ios buildAppAbout Above Action
Above action does successfull compilation check.
On pull request for given branche(here development), it executes above job.
About above Action's job
It runs on macOS latest
It first checks out branch (here development)
It runs
bundle install(which is necessary for fastlane execution)It adds all dependencies
pod installbundle exec fastlane ios buildAppbuilds app & check compilation status.Know more about
bundle exec fastlane ios buildApp
Last updated
Was this helpful?