Skip to content

Fix warnings

Fix warnings #11

Workflow file for this run

name: CI
on:
pull_request:
branches-ignore:
- demo
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: macos-13
steps:
- uses: actions/checkout@v4
- name: CocoaPods Cache
uses: actions/cache@v3
with:
path: "Pods"
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-pods-
- name: Setup Project
run: |
pod --version
isNeedsPodInstall=false
diff "Podfile.lock" "Pods/Manifest.lock" >/dev/null || {
isNeedsPodInstall=true
}
if $isNeedsPodInstall; then
pod install || {
echo "pod install fails, try update repo"
pod install --repo-update
}
else
echo "Podfile unchanged, skip pod install."
fi
- name: Build
run: |
xcodebuild -workspace "B9ChatAI.xcworkspace" -scheme "App" -destination 'platform=macOS,arch=x86_64'