Skip to content

docs: fix ios.yml

docs: fix ios.yml #7

Workflow file for this run

name: iOS Multiple Projects Build and Test Workflow
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build-module03:
name: Build Module03
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build Module03 Project
run: |
xcodebuild build-for-testing -project Module03/weatherfinal_proj/weather_proj.xcodeproj -scheme weather_proj -destination 'platform=iOS Simulator,name=iPhone 14 Pro Max' -derivedDataPath './Module03/build'
- name: Upload Module03 Build Artifacts
uses: actions/upload-artifact@v3
with:
name: module03-build-artifacts
path: Module03/build/Build/Products/*
build-weatherplus:
name: Build WeatherPlus
runs-on: macos-latest
needs: build-module03
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build WeatherPlus Project
run: |
xcodebuild build-for-testing -project WeatherApp/weatherplusproj/weather_proj.xcodeproj -scheme weather_proj -destination 'platform=iOS Simulator,name=iPhone 14 Pro Max' -derivedDataPath './WeatherPlus/build'
- name: Upload WeatherPlus Build Artifacts
uses: actions/upload-artifact@v3
with:
name: weatherplus-build-artifacts
path: WeatherPlus/build/Build/Products/*