Update Podfile.lock in iOS Objective-C and Swift samples to reference GMA iOS SDK v11.6.0. #681
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 Status | |
# Step 1: Build on pull-requests or pushes to main | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
# Step 2: Build the samples | |
build: | |
name: Build | |
runs-on: macOS-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
regex: | |
- "Objective-C/advanced" | |
- "Swift/advanced" | |
- "Objective-C/admob" | |
- "Swift/admob" | |
- "Objective-C/admanager" | |
- "Swift/admanager" | |
steps: | |
- name: Clone Repo | |
uses: actions/checkout@v1 | |
# For a complete overview of all available pieces of software, see: | |
# https://github.com/actions/runner-images/blob/macos-14-arm64/20240402.2/images/macos/macos-14-arm64-Readme.md | |
- name: List all the Xcode installations | |
run: sudo ls -1 /Applications | grep "Xcode" | |
- name: Select Xcode 15.3 | |
run: sudo xcode-select -s /Applications/Xcode_15.3.app/Contents/Developer | |
- name: Xcode version | |
run: /usr/bin/xcodebuild -version | |
- name: Pod repo update | |
run: pod repo update | |
- name: Install xcpretty | |
run: sudo gem install xcpretty | |
- name: Set commit range (push to the main branch, e.g. merge) | |
if: github.ref == 'refs/heads/main' && github.event_name == 'push' | |
run: echo "COMMIT_RANGE="${{ github.event.before }}.."" >> $GITHUB_ENV | |
- name: Set commit range (pull request) | |
if: github.event_name == 'pull_request' | |
run: echo "COMMIT_RANGE="HEAD~.."" >> $GITHUB_ENV | |
- name: Build | |
run: .github/workflows/build/build.sh | |
shell: bash | |
env: | |
COMMIT_RANGE: ${{ env.COMMIT_RANGE }} | |
REGEX: ${{ matrix.regex }} |