Feature/add scrum pspo 1 #43
Workflow file for this run
This file contains hidden or 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: "Build iOS app" | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
workflow_dispatch: | |
branches: [main] | |
jobs: | |
build_with_signing: | |
runs-on: macos-latest | |
steps: | |
- name: check Xcode version | |
run: /usr/bin/xcodebuild -version | |
- name: checkout repository | |
uses: actions/checkout@v4 | |
- name: check Xcode List | |
run: /usr/bin/xcodebuild -list | |
- name: test build | |
run: | | |
xcodebuild -scheme "CloudMaster" \ | |
-archivePath $RUNNER_TEMP/cloudmaster.xcarchive \ | |
-sdk iphoneos \ | |
-configuration Debug \ | |
-destination generic/platform=iOS \ | |
-allowProvisioningUpdates \ | |
clean build | |
## DISABLED STEPS TO ARCHIVE AND PUBLISH IPA FOR NOW ## | |
# - name: export ipa | |
# env: | |
# EXPORT_OPTIONS_PLIST: ${{ secrets.EXPORT_OPTIONS_PLIST }} | |
# run: | | |
# xcodebuild -exportArchive -archivePath $RUNNER_TEMP/cloudmaster.xcarchive -exportPath $RUNNER_TEMP/build | |
# - name: Upload application | |
# uses: actions/upload-artifact@v4 | |
# with: | |
# name: app | |
# path: ${{ runner.temp }}/build | |
# retention-days: 3 |