Remove resourses #36
Workflow file for this run
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 Example | |
on: | |
push: | |
branches: [ main, develop ] | |
pull_request: | |
branches: [ main ] | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_15.0.app/Contents/Developer | |
jobs: | |
example: | |
name: Run examples | |
runs-on: macOS-13 | |
strategy: | |
matrix: | |
iosDestination: ['platform=iOS Simulator,OS=16.0,name=iPhone 14'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set secret | |
run: git config --global url."https://${{ secrets.ACTIONS_TOKEN }}:[email protected]/".insteadOf "https://github.com/" | |
- name: Set pipefail | |
run: set -euo pipefail | |
- name: Set SwiftPM Plugin config | |
run: defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -bool YES | |
- name: Build iOS | |
run: | | |
xcodebuild clean build -project "AppExample/Example.xcodeproj" -scheme "Example" | xcpretty && exit ${PIPESTATUS[0]} | |
env: | |
destination: ${{ matrix.iosDestination }} |