Merge pull request #14 from linhay/dependabot/bundler/rexml-3.2.8 #89
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
destination: ['iOS Simulator,name=iPhone 8'] | |
swift-version: [5.0, 4.2, 4.0] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: setup-cocoapods | |
uses: maxim-lobanov/setup-cocoapods@v1.1 | |
with: | |
podfile-path: Example/Podfile.lock | |
- name: Install Dependencies | |
run: | | |
cd Example | |
pod install --repo-update | |
- name: Xcodebuild Action | |
uses: sersoft-gmbh/xcodebuild-action@v1.1 | |
with: | |
# The path to the xcworkspace to build. Mutually exclusive with `project`. | |
workspace: Example/EmptyPage.xcworkspace | |
# The scheme to build. Required when using a workspace. | |
scheme: EmptyPage-Example | |
# The destination specifier to build. | |
destination: ${{ matrix.destination }} | |
# The action to perform (e.g. build, test, ...). | |
action: build | |
# Whether the output of xcodebuild should be forwarded to xcpretty. | |
use-xcpretty: true | |
env: | |
destination: ${{ matrix.destination }} |