Skip to content

Commit

Permalink
docs: fix ios.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chanhihi authored Mar 5, 2024
1 parent 41edb11 commit 1a5c865
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ jobs:

- name: Build and Test Module03 Project
run: |
xcodebuild build-for-testing -project Module03/weatherfinal_proj/weather_proj.xcodeproj -scheme weather_proj -destination 'platform=iOS Simulator,name=iPhone 15'
xcodebuild test-without-building -project Module03/weatherfinal_proj/weather_proj.xcodeproj -scheme weather_proj -destination 'platform=iOS Simulator,name=iPhone 15'
xcodebuild build-for-testing -project Module03/weatherfinal_proj/weather_proj.xcodeproj -scheme weather_proj -destination 'platform=iOS Simulator,name=iPhone 14 Pro Max' -derivedDataPath './build'
xcodebuild test-without-building -project Module03/weatherfinal_proj/weather_proj.xcodeproj -scheme weather_proj -destination 'platform=iOS Simulator,name=iPhone 14 Pro Max' -derivedDataPath './build'
- name: Upload Module03 Build Artifacts
uses: actions/upload-artifact@v3
with:
name: module03-build-artifacts
path: Module03/YourBuildOutputPath/*
path: Module03/build/Build/Products/*

build-and-test-weatherplus:
name: Build and Test WeatherPlus
Expand All @@ -37,11 +37,11 @@ jobs:

- name: Build and Test WeatherPlus Project
run: |
xcodebuild build-for-testing -project WeatherApp/weatherplusproj/weather_proj.xcodeproj -scheme weather_proj -destination 'platform=iOS Simulator,name=iPhone 15'
xcodebuild test-without-building -project WeatherApp/weatherplusproj/weather_proj.xcodeproj -scheme weather_proj -destination 'platform=iOS Simulator,name=iPhone 15'
xcodebuild build-for-testing -project WeatherApp/weatherplusproj/weather_proj.xcodeproj -scheme weather_proj -destination 'platform=iOS Simulator,name=iPhone 14 Pro Max' -derivedDataPath './build'
xcodebuild test-without-building -project WeatherApp/weatherplusproj/weather_proj.xcodeproj -scheme weather_proj -destination 'platform=iOS Simulator,name=iPhone 14 Pro Max' -derivedDataPath './build'
- name: Upload WeatherPlus Build Artifacts
uses: actions/upload-artifact@v3
with:
name: weatherplus-build-artifacts
path: WeatherApp/weatherplusproj/YourBuildOutputPath/*
path: WeatherApp/weatherplusproj/build/Build/Products/*

0 comments on commit 1a5c865

Please sign in to comment.