Make sure the link is unique #417
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 UI Swift SDK samples | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
ios: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Ensure all history and tags are fetched | |
- name: Set up Xcode | |
run: sudo xcode-select -s /Applications/Xcode.app/Contents/Developer | |
- name: Install Dependencies | |
run: xcodebuild -resolvePackageDependencies -project iOS.xcodeproj | |
working-directory: ui-swift/samples/iOS | |
- name: Build the project | |
run: xcodebuild -project iOS.xcodeproj -scheme iOS -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 12,OS=latest' build | |
working-directory: ui-swift/samples/iOS | |
macos: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Ensure all history and tags are fetched | |
- name: Set up Xcode | |
run: sudo xcode-select -s /Applications/Xcode.app/Contents/Developer | |
- name: Install Dependencies | |
run: xcodebuild -resolvePackageDependencies -project macOS.xcodeproj | |
working-directory: ui-swift/samples/macOS | |
- name: Build the project | |
run: xcodebuild -project macOS.xcodeproj -scheme macOS -sdk macosx -destination 'platform=macOS' build | |
working-directory: ui-swift/samples/macOS |