Skip to content

Vaulting with Purchase #1009

Vaulting with Purchase

Vaulting with Purchase #1009

Workflow file for this run

name: Build
on: [pull_request, workflow_dispatch]
concurrency:
group: build-${{ github.event.number }}
cancel-in-progress: true
jobs:
cocoapods:
name: CocoaPods
runs-on: macos-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Use Xcode 14
run: sudo xcode-select -switch /Applications/Xcode_14.2.app
- name: Run pod lib lint
run: pod lib lint
spm:
name: Swift Package Manager
runs-on: macos-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Use Xcode 14
run: sudo xcode-select -switch /Applications/Xcode_14.2.app
- name: Use current branch
run: sed -i '' 's/branch = .*/branch = \"'"$GITHUB_HEAD_REF"'\";/' SampleApps/SPMTest/SPMTest.xcodeproj/project.pbxproj
- name: Run swift package resolve
run: cd SampleApps/SPMTest && swift package resolve
- name: Build & archive SPMTest
run: xcodebuild -project 'SampleApps/SPMTest/SPMTest.xcodeproj' -scheme 'SPMTest' clean build archive CODE_SIGNING_ALLOWED=NO