fix: on push main for module03.yml #6
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: Module03 Build and Artifact Workflow | |
on: | |
push: | |
branches: [ "main" ] | |
jobs: | |
build-module03: | |
name: Build Module03 | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- 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@v4 | |
with: | |
name: module03-build-artifacts | |
path: Module03/build/Build/Products/* |