Skip to content

Commit

Permalink
Update build-ios-app-artemis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ejbills authored Dec 13, 2023
1 parent 66984e6 commit 173acaf
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build-ios-app-artemis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,31 @@ jobs:
# apply provisioning profile
mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles
cp $PP_PATH ~/Library/MobileDevice/Provisioning\ Profiles
- name: build archive
run: |
xcodebuild -scheme "OpenArtemis" \
-archivePath $RUNNER_TEMP/OpenArtemis.xcarchive \
-sdk iphoneos \
-configuration Debug \
-destination generic/platform=iOS \
clean archive \
-disableAutomaticPackageResolution
- name: export ipa
env:
EXPORT_OPTIONS_PLIST: ${{ secrets.EXPORT_OPTIONS_PLIST }}
run: |
EXPORT_OPTS_PATH=$RUNNER_TEMP/ExportOptions.plist
echo -n "$EXPORT_OPTIONS_PLIST" | base64 --decode -o $EXPORT_OPTS_PATH
xcodebuild -exportArchive -archivePath $RUNNER_TEMP/iamgroot.xcarchive -exportOptionsPlist $EXPORT_OPTS_PATH -exportPath $RUNNER_TEMP/build
- name: Upload application
uses: actions/upload-artifact@v3
with:
name: app
path: ${{ runner.temp }}/build/OpenArtemis.ipa
# you can also archive the entire directory
# path: ${{ runner.temp }}/build
retention-days: 3

0 comments on commit 173acaf

Please sign in to comment.